New question #157819 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/157819
I'm on OS X Snow Leopard, using python 2.7 from python.org's binary package.
I'm using "homebrew" package manager, which I used for all dependencies except
for cgal. I went through FEniCS install with dorasl, which seemed to go fine,
but when trying any python demo or trying to import dolfin, I get an exception
related to "Symbol not found: __gfortran_getarg_i4".
I'm new to FEniCS and somewhat new to python. I'm not sure how to proceed here,
as I'm not sure where gfortran_getarg should be..
Please see trace below, and the output for otool -L for _cpp.o
Thanks a lot!
--------------
rob@cosmo ~ $ otool -L
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/_cpp.so
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/_cpp.so:
libdolfin.0.dylib (compatibility version 0.0.0, current version 0.9.10)
/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility
version 2.7.0, current version 2.7.0)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version
10.3.0)
libarmadillo.0.dylib (compatibility version 0.0.0, current version
1.0.0)
/usr/local/Cellar/boost/1.46.1/lib/libboost_filesystem-mt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/local/Cellar/boost/1.46.1/lib/libboost_program_options-mt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/local/Cellar/boost/1.46.1/lib/libboost_system-mt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/local/Cellar/boost/1.46.1/lib/libboost_thread-mt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/Users/rob/Development/FEniCS//lib/libslepc.dylib (compatibility
version 0.0.0, current version 0.0.0)
/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current
version 9.0.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
(compatibility version 1.0.0, current version 219.0.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
(compatibility version 1.0.0, current version 219.0.0)
/usr/local/Cellar/open-mpi/1.4.2/lib/libmpi_f77.0.dylib (compatibility
version 1.0.0, current version 1.0.0)
/usr/local/Cellar/open-mpi/1.4.2/lib/libmpi_cxx.0.dylib (compatibility
version 1.0.0, current version 1.1.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/usr/local/Cellar/open-mpi/1.4.2/lib/libmpi.0.dylib (compatibility
version 1.0.0, current version 1.2.0)
/usr/local/Cellar/open-mpi/1.4.2/lib/libopen-rte.0.dylib (compatibility
version 1.0.0, current version 1.0.0)
/usr/local/Cellar/open-mpi/1.4.2/lib/libopen-pal.0.dylib (compatibility
version 1.0.0, current version 1.0.0)
/usr/lib/libutil.dylib (compatibility version 1.0.0, current version
1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.10)
/usr/local/Cellar/cppunit/1.12.1/lib/libcppunit-1.12.1.0.0.dylib
(compatibility version 2.0.0, current version 2.0.0)
----------------------
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (9, 0))
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/Users/rob/<ipython-input-1-7d9b2153bc0b> in <module>()
----> 1 import dolfin
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/__init__.pyc
in <module>()
8
9 # Import names from the compiled cpp module
---> 10 from dolfin.cppimports import *
11 from dolfin.cppimports import __version__, __swigversion__
12
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/cppimports.py
in <module>()
2
3 #--- Imports the SWIG-generated Python code (C++ interface) ---
----> 4 import dolfin.cpp as cpp
5 __swigversion__ = cpp.__swigversion__
6 __version__ = cpp.__dolfinversion__
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/cpp.py in
<module>()
26 fp.close()
27 return _mod
---> 28 _cpp = swig_import_helper()
29 del swig_import_helper
30 else:
/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/cpp.py in
swig_import_helper()
22 if fp is not None:
23 try:
---> 24 _mod = imp.load_module('_cpp', fp, pathname,
description)
25 finally:
26 fp.close()
ImportError:
dlopen(/Users/rob/Development/FEniCS/lib/python2.7/site-packages/dolfin/_cpp.so,
2): Symbol not found: __gfortran_getarg_i4
Referenced from: /Users/rob/Development/FEniCS/lib/libslepc.dylib
Expected in: flat namespace
in /Users/rob/Development/FEniCS/lib/libslepc.dylib
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp