[MacPorts] #35020: py-scipy: work with updated SuiteSparse 4.0.0

MacPorts noreply at macports.org
Tue Jul 3 08:44:30 PDT 2012


#35020: py-scipy: work with updated SuiteSparse 4.0.0
------------------------------+---------------------------------------------
  Reporter:  zan@…            |       Owner:  ram@…           
      Type:  update           |      Status:  closed          
  Priority:  Normal           |   Milestone:                  
 Component:  ports            |     Version:                  
Resolution:  fixed            |    Keywords:  haspatch        
      Port:  py-scipy         |  
------------------------------+---------------------------------------------

Comment(by zan@…):

 --no-user-cfg makes setup.py ignore the site.cfg local configuration file.
 I used site.cfg to make scipy find the SuiteSparse libraries needed for
 umfpack.

 During compilation without the patch, libumfpack.a and libamd.a are found
 and so umfpack is built. There are no compilation errors. However, 'nm -u
 _ _umfpack.so' in scipy/sparse/linalg/dsolve/umfpack shows that several
 _cholmod functions are undefined. The only way to detect this is to do a
 complete installation of scipy, and then:

 {{{
 % python
 >>> import scipy
 >>> t = scipy.test('full')
 >>> print t.skipped
 (Test(test_umfpack.TestFactorization.test_complex_lu), Exception('Skipping
 test:
 test_complex_lu\nUMFPACK appears not to be compiled',)).....<more skipped>
 }}}

 This patch tells setup.py to look for SuiteSparse(.dylib) in stead of
 umfpack and amd.

-- 
Ticket URL: <https://trac.macports.org/ticket/35020#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list