#19966: ATLAS variant for py25-numpy 1.3.0 -------------------------------+-------------------------------------------- Reporter: max@… | Owner: ram@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: numpy ATLAS | Port: py25-numpy py26-numpy -------------------------------+-------------------------------------------- Comment(by ram@…): OK I've looked at this in more detail and it appears that no fortran compiler needs to specified, and I can confirm that numpy is using atlas. However when I try to build scipy it fails with the following error: {{{ DEBUG: Executing org.macports.build (py25-scipy) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' CCFLAGS='-I/opt/local/include -L/opt/local/lib' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_ram_opt_macports_python_py25-scipy/work/scipy-0.7.1" && /opt/local/bin/python2.5 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-4.3 --f90exec /opt/local/bin /gfortran-mp-4.3 build' Traceback (most recent call last): File "setup.py", line 160, in <module> setup_package() File "setup.py", line 127, in setup_package from numpy.distutils.core import setup File "/opt/local/lib/python2.5/site-packages/numpy/__init__.py", line 130, in <module> import add_newdocs File "/opt/local/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <module> from lib import add_newdoc File "/opt/local/lib/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <module> from polynomial import * File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 18, in <module> from numpy.linalg import eigvals, lstsq File "/opt/local/lib/python2.5/site-packages/numpy/linalg/__init__.py", line 47, in <module> from linalg import * File "/opt/local/lib/python2.5/site-packages/numpy/linalg/linalg.py", line 22, in <module> from numpy.linalg import lapack_lite ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/numpy/linalg/lapack_lite.so, 2): Library not loaded: libptf77blas.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/numpy/linalg/lapack_lite.so Reason: image not found }}} libptff77blas.dylib is provided by atlas and seems fine: {{{ $ port provides /opt/local/lib/libptf77blas.dylib /opt/local/lib/libptf77blas.dylib is provided by: atlas $ file /opt/local/lib/libptf77blas.dylib /opt/local/lib/libptf77blas.dylib: Mach-O dynamically linked shared library i386 $ ls -l /opt/local/lib/libptf77blas.dylib -rw-r--r-- 2 ram admin 107272 2009-06-18 19:47 /opt/local/lib/libptf77blas.dylib $ }}} Do you not get this error? -- Ticket URL: <http://trac.macports.org/ticket/19966#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS