ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00319
Re: ffc-0.2.0 problem with running demos
-
To:
Discussion of FFC development <ffc-dev@xxxxxxxxxx>
-
From:
osman buyukisik <osman@xxxxxxxx>
-
Date:
Sun, 25 Sep 2005 14:30:50 -0700
-
In-reply-to:
<20050925143512.GB32317@galerkin>
-
Organization:
home
-
User-agent:
KMail/1.7.1
On Sunday 25 September 2005 07:35, Anders Logg wrote:
> Which version of Python and Python Numeric are you running?
> I'm using Python 2.4.1 and Python Numeric 23.8-3 (from Debian)
> and all forms compile cleanly on my system.
>
> This looks like a problem with using the correct dot function. The
> Python Numeric dot function tries to take the conjugate of one of the
> arguments. It would help if you commented out some of the exception
> handling code in src/bin/ffc:
>
> # except RuntimeError, exception:
> # print "*** " + str(exception)
> # except Exception, exception:
> # print "*** " + str(exception)
>
> which would print out a traceback to give some more information about
> the error.
osman@linux:~/ffc-0.2.0/src/demo> ffc Heat.form
This is FFC, the FEniCS Form Compiler, version 0.2.0.
For further information, go to http://www/fenics.org/ffc/.
Parsing Heat.form
Output written to Heat.py
Traceback (most recent call last):
File "/usr/bin/ffc", line 94, in ?
main(sys.argv[1:])
File "/usr/bin/ffc", line 64, in main
execfile(outname, ns)
File "Heat.py", line 38, in ?
a = u1*v*dx + k*c*dot(grad(u1), grad(v))*dx
File "/usr/lib/python2.3/site-packages/ffc/compiler/operators.py", line 65,
in dot
return Numeric.vdot(vec(v), vec(w))
File "/usr/lib/python2.3/site-packages/Numeric/Numeric.py", line 353, in
vdot
return multiarray.matrixproduct(conjugate(ravel(a)),
AttributeError: Product instance has no attribute 'conjugate'
osman@linux:~/ffc-0.2.0/src/demo>
Follow ups
References