← Back to team overview

ufl team mailing list archive

Re: Fwd: UFL 0.3.0

 

Quoting Ola Skavhaug <skavhaug@xxxxxxxxx>:

> ---------- Forwarded message ----------
> From: Megan Lewis <meganlewis13@xxxxxxxxx>
> Date: Fri, Aug 7, 2009 at 6:05 PM
> Subject: UFL 0.3.0
> To: Ola Skavhaug <skavhaug@xxxxxxxxx>
> Cc: Raymond Spiteri <spiteri@xxxxxxxxxxx>
>
>
> Hi Ola,
>
> I believe I have found a problem with UFL version 0.3.0, and I thought
> I would pass along the error.  When installing dolfin with UFL 0.3.0
> on Ubuntu, scons and scons install work fine, but scons
> enableDemos=yes runs into an error, and none of the scripts will run.
> They have this error message:
>
>
>    from ufl.algorithms.transformations import purge_list_tensors
> ImportError: cannot import name purge_list_tensors

Which file is throwing this error? Which version of DOLFIN are you trying to
install with UFL 0.3.0? I couldn't reproduce the error.

For the dev versions, it should be"
from ufl.algorithms import purge_list_tensors
or
from ufl.algorithms.expand_indices import purge_list_tensors

Kristian


> This happens also when I install PyCC/Py4C.  If I remove UFL 0.3.0 and
> install UFL 0.2.0, everything works fine.
>
> Can you pass this along to the person working on UFL?
>
> Thanks,
> Megan Lewis
>
>
>
> --
> Ola Skavhaug
> _______________________________________________
> UFL-dev mailing list
> UFL-dev@xxxxxxxxxx
> http://fenics.org/mailman/listinfo/ufl-dev
>




References