ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00164
Re: Protect the ASE import
-
To:
Discussion of FFC development <ffc-dev@xxxxxxxxxx>
-
From:
Anders Logg <logg@xxxxxxxxx>
-
Date:
Mon, 6 Jun 2005 17:18:52 -0500
-
In-reply-to:
<E1DfPfd-00035G-00@bamse>
-
Mail-followup-to:
Discussion of FFC development <ffc-dev@xxxxxxxxxx>
-
User-agent:
Mutt/1.5.9i
There are still problems if I import the ase module:
File "../ffc/compiler/compiler.py", line 23, in ?
from ffc.format import ase
File "../ffc/format/ase.py", line 43, in ?
format = { "sum": sum,
AttributeError: 'NoneType' object has no attribute 'getVar'
I'll keep the import under the if-case in compiler.py until we know
how to do this.
What things from ASE are you using in ase.py? It should be possible to
compile without having access to the system you are compiling for (you
don't need to have DOLFIN or LaTeX installed to use -dolfin or -latex).
(As a side note, I should change -c++ to -dolfin.)
/Anders
On Tue, Jun 07, 2005 at 12:02:09AM +0200, ffc@xxxxxxxxxx wrote:
> Commit from knepley (2005-06-07 00:02 CEST)
> -------------------
>
> Protect the ASE import
>
> ffc src/ffc/format/ase.py 1.2
>
> _______________________________________________
> FFC-dev mailing list
> FFC-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/ffc-dev
>
--
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/
References