[SciPy-user] scipy.sparse.linalg.cg not thread safe?

Sturla Molden sturla@molden...
Tue Jan 27 15:31:25 CST 2009

>> In time we should replace all of the Fortran implementations of the
>> iterative methods with pure-Python code.  This would be a nice target
>> for SciPy 0.8.
> +1
> --
> Robert Kern

How would this be performance wise? Some iterative methods are fast in
Python, others are not. Why not protect Fortran code unsafe for threads
with a global lock in the Python module? It would not be any worse than
the GIL, which would affect pure Python code.

S. M.

More information about the SciPy-user mailing list