You should check that file reported at the end:

$ cat /Users/justin/.instant/error/ffc_form_030172ac36a54f6832c74
e6833003d3326a83aa3/compile.log

Does it give any hint on why compilation failed?

--
Anders


tis 1 sep. 2015 kl 10:35 skrev Justin Chang <[email protected]>:

> Hi all,
>
> I installed FEniCS onto my MacOSX using the provided .dmg from the
> website. When I source the FEniCS environment and try to run the
> provided demo_poisson.py I get this error:
>
> 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/justin/.instant/error/ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3/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 468, 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 153, in __init__
>
>     ufc_element, ufc_dofmap = jit(self._ufl_element,
> mpi_comm=mesh.mpi_comm())
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
> line 64, in mpi_jit
>
>     return local_jit(*args, **kwargs)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
> line 128, in jit
>
>     return form_compiler.jit(form, parameters=p)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
> line 72, in jit
>
>     return jit_element(ufl_object, parameters)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
> line 180, in jit_element
>
>     compiled_form, module, prefix = jit_form(form, parameters)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/jitcompiler.py",
> line 148, in jit_form
>
>     cache_dir = cache_dir)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/ffc/backends/ufc/build.py",
> line 73, in build_ufc_module
>
>     **kwargs)
>
>   File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
> line 563, 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 152, 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 85, in instant_error
>
>     raise RuntimeError(text)
>
> RuntimeError: In instant.recompile: The module did not compile with
> command 'cmake -DDEBUG=TRUE .', see
>
> '/Users/justin/.instant/error/ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3/compile.log'
>
> Know what this means?
>
> Thanks,
>
> --
> Justin Chang
> PhD Candidate, Civil Engineering - Computational Sciences
> University of Houston, Department of Civil and Environmental Engineering
> Houston, TX 77004
> (512) 963-3262
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to