[MacPorts] #49895: py27-scipy @0.16.1_0 +gcc5 +atlas completes install, but doesn't work: symbol not found
MacPorts
noreply at macports.org
Wed Dec 9 11:16:41 PST 2015
#49895: py27-scipy @0.16.1_0 +gcc5 +atlas completes install, but doesn't work:
symbol not found
-------------------------------+--------------------------------
Reporter: mark.chilenski@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: py27-scipy atlas |
-------------------------------+--------------------------------
Comment (by mark.chilenski@…):
Upon further investigation, this issue appears to be from LAPACK being
updated to lapackversion = 3.6.0 when building ATLAS. I made a local
version of the portfile and dialed LAPACK back to 3.5.0 and SciPy appears
to work now (though I'm waiting for the full test suite to complete).
The changelog here: http://www.netlib.org/lapack/lapack-3.6.0.html notes
that CGEGV is deprecated as of LAPACK 3.6.0. I suspect this means that the
bug is in SciPy itself (i.e., that they shouldn't be referencing a
deprecated function). If the maintainers agree with this logic, this
ticket can be closed and I will submit a bug report with the SciPy devs.
(Though perhaps they could consider adding an option to choose the LAPACK
version when building ATLAS?)
**For users who find this ticket looking for a short-term solution to get
their SciPy to work with ATLAS**: I got it to the point that I can run
"import scipy.linalg" by following the steps here:
https://trac.macports.org/wiki/howto/InstallingOlderPort
I just used the most recent revision ("`svn checkout
https://svn.macports.org/repository/macports/trunk/dports/math/atlas`"),
and modified line 15 to be "`set lapackversion 3.5.0`" and set the
checksums at line 48-50 to:
{{{
lapack-${lapackversion}.tgz \
rmd160 d803308ef28f3c6cffb051850823395e2cb29b6a \
sha256
9ad8f0d3f3fb5521db49f2dd716463b8fb2b6bc9dc386a9956b8c6144f726352
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49895#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list