[MacPorts] #37415: py27-numpy: cannot import numpy when built with atlas

MacPorts noreply at macports.org
Tue May 7 07:56:54 PDT 2013


#37415: py27-numpy: cannot import numpy when built with atlas
--------------------------------+-------------------
  Reporter:  macsforever2000@…  |      Owner:  dh@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:  py-numpy           |
--------------------------------+-------------------

Comment (by beany_kelly@…):

 Replying to [comment:42 vince@…]:

 Sorry for the delay in replying. I'd started doing the "+mpclang33"
 version of the atlas install, but it was taking *ages* (MUCH longer than
 the gcc46 version, which only takes around 30 minutes; perhaps the gcc
 version doesn't actually optimise?) Anyway, I abandoned that for the
 moment, and restored the gcc46 setup from my Comment 37 above.

 > Strange but reassuring: the GNU OpenMP library is correctly referenced
 by lib[ts]atlas. Can you check that libgomp library you get in the result
 of otool exists (in /opt/local/gcc46)?

 Yes, I've verified that /opt/local/lib/gcc46/libgomp.1.dylib exists.

 > If yes, then it can you do the same otool with the lapack_lite.so
 library whence the error seems to stem? I have an inkling of what going on
 there, but I need to confirm it. Thanks again!

 Here's the result of running otool -L on
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/linalg/lapack_lite.so :

 {{{
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/linalg/lapack_lite.so:
         /opt/local/lib/gcc46/libgfortran.3.dylib (compatibility version
 4.0.0, current version 4.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 169.3.0)
         /opt/local/lib/gcc46/libgcc_s.1.dylib (compatibility version
 1.0.0, current version 1.0.0)
         /opt/local/lib/gcc46/libquadmath.0.dylib (compatibility version
 1.0.0, current version 1.0.0)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37415#comment:43>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list