Attached is the log-file. I am a complete greenhorn on these matters, but to me it looks as if the default C compiler is Clang 5.0.0 Can you find the linker statement in the log-file?
Best, Achim From: Johan Hake <[email protected]<mailto:[email protected]>> Date: Tuesday, October 8, 2013 11:45 AM To: Anders Logg <[email protected]<mailto:[email protected]>> Cc: Achim Schroll <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [FEniCS-support] FEniCS on MAC OS X 10.8.5 Are you using gcc or clang as your c++ compiler? Could you also add the whole linker statement that generates the error? Johan On Tue, Oct 8, 2013 at 10:26 AM, Anders Logg <[email protected]<mailto:[email protected]>> wrote: On Mon, Oct 07, 2013 at 08:58:07AM +0000, Achim Schroll wrote: > Dear FEniCS developers, > > On my brand new OS X 10.8.5 running Xcode 5.0 (5A1413) and system python 2.7.2 > I have problems compiling ANY expression in FEniCS. > > The script > > > from dolfin import * > > mesh = UnitSquareMesh(10, 8) > > V = FunctionSpace(mesh, "Lagrange", 1) > > > f = Expression('6.0') > > > gives the error > > RuntimeError: In instant.recompile: The module did not compile with command > 'make VERBOSE=1 > > The tail of the log-file says: > > ld: library not found for -lgomp > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [_dolfin_compile_code_43000e665a7c3f7f41664f21e875223b.so] Error > 1 > make[1]: *** [CMakeFiles/ > _dolfin_compile_code_43000e665a7c3f7f41664f21e875223b.dir/all] Error 2 > make: *** [all] Error 2 > > Is that an issue with the outdated version of python 2.7.2 and if so can you > tell me how to update python? > The fenics web says NOT to use python.org<http://python.org>: > > The FEniCS binary is built against system Python and will not work with Python > from python.org<http://python.org>, MacPorts Python or similar. > > Thank you in advance. > Best, Achim It doesn't look like a Python problem to me. Looks like an issue with libgomp (GNU OpenMP). I don't know enough (=almost nothing) about Mac libraries so I don't know what might cause this problem. -- Anders _______________________________________________ fenics-support mailing list [email protected]<mailto:[email protected]> http://fenicsproject.org/mailman/listinfo/fenics-support
compile.log
Description: compile.log
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
