[Scipy-tickets] [SciPy] #725: arpack problem on mac os x

SciPy scipy-tickets@scipy....
Sun Nov 2 09:05:57 CST 2008


#725: arpack problem on mac os x
---------------------------------+------------------------------------------
 Reporter:  cdavid               |        Owner:  cdavid
     Type:  defect               |       Status:  new   
 Priority:  highest              |    Milestone:  0.7.0 
Component:  scipy.sparse.linalg  |      Version:        
 Severity:  blocker              |   Resolution:        
 Keywords:                       |  
---------------------------------+------------------------------------------
Comment (by cdavid):

 Ok, to see the problem, here is simple pure fortran program:

 {{{
 program main
 complex X, Y, Z
 complex cladiv
 X = (1, 0)
 Y = (0, 1)
 Z = cladiv(X, Y)
 print *, Z
 end
 }}}

 cladiv computes X/Y, so it should shows something like (0, -1). To make it
 work on Mac OS X with accelerate:

 {{{
 program main
 complex X, Y, Z
 X = (1, 0)
 Y = (0, 1)
 call cladiv(Z, X, Y)
 end
 }}}

 I can't understand why Apple decided to keep the F77 LAPACK name for a
 CLAPACK function. This means we have to modify ARPACK sources to make it
 work, somehow.

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/725#comment:5>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list