This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

New binary for OS X 10.11 does not work

+5 votes

After installing Fenics using the new binary package for OS X 10.11 it crashes with the following error message (tried running demo poisson here):

Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'make VERBOSE=1', see     
'/Users/admin/.instant/error/ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3/compile.log'
Traceback (most recent call last):
File "poisson.py", line 5, 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 165, 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 'make VERBOSE=1', see '/Users/admin/.instant/error/ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3/compile.log'

And in compile.log these are the latest lines:

dyld: Library not loaded: /Users/johannr/fenics-1.6.0/local/lib/libpcre.1.dylib
  Referenced from: /Applications/FEniCS.app/Contents/Resources/bin/swig
  Reason: image not found
make[2]: *** [ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3PYTHON_wrap.cxx]     Trace/BPT trap: 5
make[1]: *** [CMakeFiles/_ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3.dir/all]     Error 2
make: *** [all] Error 2

Could you please suggest the possible way of solving the issue? Thank you

asked Nov 1, 2015 by mfmfe FEniCS Novice (230 points)

I have the same error.

dyld: Library not loaded: /Users/johannr/fenics-1.6.0/local/lib/libpcre.1.dylib

1 Answer

+1 vote
 
Best answer

This should be fixed now in the latest dmg bundle that you can download from here.

answered Nov 6, 2015 by johannr FEniCS Expert (17,350 points)
selected Nov 8, 2015 by mfmfe
...