On Nov 5, 2009, at 2:02 PM, Ranjit Chacko wrote:

Yes, I'm using scramble now. I just tried the example solver module from PyAmg and that gives me a memory error too.

OK, I set up a simple problem and see that PySparse' GMRES leaks terribly, with or without noise and with or without a viewer. It also often gives wrong answers, so we really should disable it entirely.

PySparse PCG, CGS, and LU do not leak for me.

Trilinos GMRES does not leak for me (although it uses a lot more memory than the PySparse solvers).

I know that PyAMG has a wrapper for FiPy, but I've not used it.

In general, you don't need to assign a solver, at least when you first start working on a problem. FiPy will pick one for you and it doesn't ever pick PySparse GMRES.

Reply via email to