Confirmed... Working

ilmar

Anders Logg wrote:
 > On Mon, Mar 31, 2008 at 11:18:44AM +0200, Ilmar Wilbers wrote:
 >> Hi,
 >>
 >> When I try to run the demo in demo/function/python, I get the 
following error:
 >>
 >> Initializing PETSc (ignoring command-line arguments).
 >> Solving linear PDE.
 >> Calling FFC just-in-time (JIT) compiler, this may take some time... done
 >> Creating Python extension (compiling and linking), this may take 
some time... done
 >>    Ordering mesh entities...
 >>    Assembling over cells (finished)
 >> Calling FFC just-in-time (JIT) compiler, this may take some time... done
 >> Creating Python extension (compiling and linking), this may take 
some time... done
 >>    Ordering mesh entities...
 >>    Assembling over cells (finished)
 >> Found form in cache, reusing previously built module (checksum 
1b2486fb1ed5172f10d2e0eea2648449)
 >>    Using direct solver.
 >>    Solving linear system of size 4913 x 4913 (PETSc LU solver).
 >>    LU solver (lu, seqaij) finished.
 >> f(x) = 0.480650212162
 >> Traceback (most recent call last):
 >>    File "demo.py", line 38, in <module>
 >>      g.eval(values, x)
 >>    File "/usr/local/lib/python2.5/site-packages/dolfin/dolfin.py", 
line 3875, in eval
 >>      return _dolfin.cpp_Function_eval(*args)
 >> RuntimeError: // Function evaluate_basis not generated (compiled 
with -fno-evaluate_basis)
 >>
 >> Does anybody have some insight as to what the problem is?
 >>
 >> ilmar
 >
 > Should be fixed now (in FFC). You need to pull the latest FFC,
 > install it. You must also run ffc-clean to clean your form cache (so
 > new correct code gets generated).
 >

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to