← Back to team overview

dolfin team mailing list archive

function/python demo

 

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


Follow ups