[SciPy-Dev] flapack and the GIL

Sturla Molden sturla@molden...
Mon Feb 4 05:24:51 CST 2013


It seems arbitrary if the flapack f2py interfaces have a 'threadsafe' 
statement or not. Why is that?

https://github.com/scipy/scipy/blob/master/scipy/linalg/flapack.pyf.src

I'd assume the whole of BLAS/LAPACK would be reeantrant or not. And this 
would possibly depend on the libraries itself, e.g. if they are compiled 
to assume all local variables are 'STATIC' by default.
Which means that the right place to determine threadsafety of flapack 
routines would be in the build process.


Sturla


More information about the SciPy-Dev mailing list