[SciPy-user] scipy.sparse.linalg.cg not thread safe?
Tue Jan 27 13:34:45 CST 2009
On Tue, Jan 27, 2009 at 2:11 PM, Nathan Bell <email@example.com> wrote:
> On Mon, Jan 26, 2009 at 6:29 PM, Robert Kern <firstname.lastname@example.org> wrote:
>> It's probably not threadsafe.
> I don't know Fortran, so I can't say:
> Anway, here's a pure-SciPy CG implementation (also BSD-licensed):
> It should be a drop-in replacement for sparse.linalg.cg() and have
> comparable speed. The only dependency is to the norm() function in
> PyAMG, but you can swipe that easily too.
> 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.
I've been interested in that and put together a basic initial package
at http://github.com/dpo/pykrylov/tree/master. The only prerequisite
should be Numpy.
For now I've been concentrating on Krylov methods that do not requite
products with the transpose, and on real linear systems.
More information about the SciPy-user