[SciPy-User] Calling LAPACK function dbdsqr()?
Sat Dec 15 06:42:21 CST 2012
Den 14. des. 2012 kl. 20:38 skrev Pauli Virtanen <firstname.lastname@example.org>:
> 14.12.2012 21:24, Philip Semanchuk kirjoitti:
>> The not-so-excellent news is that on Windows I installed scipy 0.11.0
>> (the same version that's on my Mac) and it does *not* seem to provide
>> a reference to dbdsqr(). I also looked for _dbdsqr, dbdsqr_, _dbdsqr_,
>> etc. and it's just not there. I can get a reference to e.g. zgelss --
>>>>> hasattr(scipy.linalg.lapack.flapack, 'zgelss')
>> But not dbdsqr. I guess this is an artifact of the LAPACK library
>> against which scipy was compiled?
> No, the result from hasattr only means that the routine is not wrapped
> via f2py. The Scipy LAPACK wrappers always wrap the exact same set of
> However, if a routine is not wrapped, the compiler might not include it
> in the built dll file. This probably is platform dependent.
Yes, and that typically happen when we link against a static LAPACK library.
It will help to build a dynamic LAPACK DLL first and link NumPy/SciPy against that.
More information about the SciPy-User