[SciPy-dev] new sparsetools + umfpack

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Jan 10 09:54:18 CST 2007


Robert Cimrman wrote:
> I have updated linsolve.use_solver():
>
>     """
>     Valid keyword arguments with defaults (other ignored):
>       useUmfpack = True
>       assumeSortedIndices = False
>
>     The default sparse solver is umfpack when available. This can be
> changed by passing useUmfpack = False, which then causes the always
> present SuperLU based solver to be used.
>
>   
There is a pending bug concerning SuperLU. How about that ?
http://projects.scipy.org/scipy/scipy/ticket/311

Nils

>     Umfpack requires a CSR/CSC matrix to have sorted column/row indices.
> If sure that the matrix fulfills this, pass assumeSortedIndices = True
> to gain some speed.
>     """
>
> It was the easiest solution to allow 1) regular users not to bother
> about matrix indices 2) power users to gain speed.
>
> The definition of use_solver is now use_solver( **kwargs ) (previous one
> was too clumsy).
>
> The same can be achieved with new umfpack.configure() function for those
> using umfpack directly.
>
> cheers,
> r.
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   
 


More information about the Scipy-dev mailing list