Problem with FunctionSpace In instant.recompile:

Asked by Antoine on 2013-05-23

Hello,
I just installed Fenics on my mac, I have the following problem when I try to run the demo
python -i demo_poisson.py

Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE . ', see '/Users/antoine/.instant/error/d90675a333a0cf9426be4e77462853b0f4a37678/compile.log'
Traceback (most recent call last):
  File "demo_poisson.py", line 41, in <module>
    V = FunctionSpace(mesh, "Lagrange", 1)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/functionspace.py", line 390, in __init__
    FunctionSpaceBase.__init__(self, mesh, element, constrained_domain)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/functionspace.py", line 84, in __init__
    ufc_element, ufc_dofmap = jit(self._ufl_element)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", line 66, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", line 154, in jit
    return jit_compile(form, parameters=p, common_cell=common_cell)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py", line 75, in jit
    return jit_element(ufl_object, parameters)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py", line 244, in jit_element
    compiled_form, module, form_data, prefix = jit_form(form, parameters)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py", line 212, in jit_form
    cache_dir = cache_dir)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ufc_utils/build.py", line 64, in build_ufc_module
    **kwargs)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py", line 541, in build_module
    recompile(modulename, module_path, new_compilation_checksum, build_system)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py", line 137, in recompile
    instant_error(msg % (cmd, compile_log_filename_dest))
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/output.py", line 49, in instant_error
    raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE . ', see '/Users/antoine/.instant/error/d90675a333a0cf9426be4e77462853b0f4a37678/compile.log

Any idea what the problem could be? Many thanks
Antoine

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
2013-05-23
Last reply:
2013-05-27
Jan Blechta (blechta) said : #1

This forum in now closed, refer to http://fenicsproject.org/support/ for support.

Can you help with this problem?

Provide an answer of your own, or ask Antoine for more information if necessary.

To post a message you must log in.