[firedrake] Firedrake Installation on Mac OS
Anna Kalogirou
A.Kalogirou at leeds.ac.uk
Sun Nov 16 18:24:04 GMT 2014
Thanks.
I have now reached the point where I need test the PyOP2 installation, but when I write
make test
I get an error which I believe is related to open-mpi. It looks like libpetsc references the path
/private/tmp/pip-hBwvhb-build/macosx-10.9-x86_64-python/lib/libhwloc.5.dylib
which seems strange to me. The error log is:
cd test; py.test unit --backend=sequential
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/_pytest/config.py", line 543, in importconftest
mod = conftestpath.pyimport()
File "/usr/local/lib/python2.7/site-packages/py/_path/local.py", line 641, in pyimport
__import__(modname)
File "/Users/matak/PyOP2/test/conftest.py", line 40, in <module>
from pyop2 import op2
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOP2-0.11.0_124_ge15b3ee-py2.7-macosx-10.9-x86_64.egg/pyop2/__init__.py", line 9, in <module>
from op2 import *
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOP2-0.11.0_124_ge15b3ee-py2.7-macosx-10.9-x86_64.egg/pyop2/op2.py", line 39, in <module>
import base
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOP2-0.11.0_124_ge15b3ee-py2.7-macosx-10.9-x86_64.egg/pyop2/base.py", line 54, in <module>
from sparsity import build_sparsity
ImportError: dlopen(/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOP2-0.11.0_124_ge15b3ee-py2.7-macosx-10.9-x86_64.egg/pyop2/sparsity.so, 2): Library not loaded: /private/tmp/pip-hBwvhb-build/macosx-10.9-x86_64-python/lib/libhwloc.5.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/petsc/lib/libpetsc.3.05.2.dylib
Reason: image not found
ERROR: could not load /Users/matak/PyOP2/test/conftest.py
make: *** [unit_sequential] Error 4
Thank you.
Best, Anna.
On 16 Nov 2014, at 15:20, Lawrence Mitchell <lawrence.mitchell at imperial.ac.uk<mailto:lawrence.mitchell at imperial.ac.uk>> wrote:
On 16 Nov 2014, at 14:16, Anna Kalogirou <A.Kalogirou at leeds.ac.uk<mailto:A.Kalogirou at leeds.ac.uk>> wrote:
Dear all,
I am trying to install Firedrake on a Mac OS X (version 10.9.5). I am following the installation instructions but I get an error during the PETSc installation step. I would really appreciate it if someone can help. Thank you very much!
Best,
Anna.
*******************************************************************************
UNABLE to EXECUTE BINARIES for ./configure
-------------------------------------------------------------------------------
Cannot run executables created with FC. If this machine uses a batch system
to submit jobs you will need to configure using ./configure with the additional option --with-batch.
Otherwise there is problem with the compilers. Can you compile and run code with your compiler '/usr/local/bin/mpif90'?
*******************************************************************************
Does /usr/local/bin/mpif90 exist and is it able to compile a simple fortran file? Furthermore, is the resulting binary runnable? That appears to be the problem petsc is complaining about it.
Lawrence
<signature.asc>_______________________________________________
firedrake mailing list
firedrake at imperial.ac.uk<mailto:firedrake at imperial.ac.uk>
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
More information about the firedrake
mailing list