[Numpy-discussion] physics simulation
Thu Apr 12 14:24:43 CDT 2012
I'm trying to run a physics simulation on a cluster. The original program
is written in fortran, and highly parallelizable. Unfortunately, I've had a
bit of trouble getting f2py to work with the compiler I'm using (absoft
v.10.1). The cluster is running Linux v. 12.
When I type just "f2py" I get the following error:
Traceback (most recent call last):
File "/opt/absoft10.1/bin/f2py", line 20, in <module>
from numpy.f2py import main
File "/usr/local/lib/python2.6/dist-packages/numpy/__init__.py", line
137, in <module>
File "/usr/local/lib/python2.6/dist-packages/numpy/add_newdocs.py", line
9, in <module>
from numpy.lib import add_newdoc
File "/usr/local/lib/python2.6/dist-packages/numpy/lib/__init__.py", line
13, in <module>
from polynomial import *
line 17, in <module>
from numpy.linalg import eigvals, lstsq
line 48, in <module>
from linalg import *
line 23, in <module>
from numpy.linalg import lapack_lite
ImportError: libaf90math.so: cannot open shared object file: No such file
It looks like f2py cannot find libaf90math.so, located in
/opt/absoft10.1/shlib. How can I tell f2py where af90math is?
Thanks for the help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion