[SciPy-User] Calling LAPACK function dbdsqr()?

Pauli Virtanen pav at iki.fi
Fri Dec 14 11:47:42 EST 2012


Philip Semanchuk <philip <at> semanchuk.com> writes:
[clip]
> > CLAPACK is also abandonware, LAPACKE is the current C/C++ interface. 
> > Thus with any recent LAPACK, there will be no clapack in SciPy.
>
> Hmmm, well that's disappointing to hear, but better to know
> now than finding out the hard way later. 
> 
> Maybe a pure-Python + numpy/scipy solution for this just
> isn't possible right now. 

However, you should still be able to use ctypes to interface with the
Fortran routines in scipy/linalg/flapack.so

While the CLAPACK is not always present, the Fortran-based LAPACK is.

This may however require some fiddling with the calling conventions.
So testing with multiple platforms will be needed, but perhaps you
are OK with doing that...

-- 
Pauli Virtanen





More information about the SciPy-User mailing list