superlu_dist doesn't work in peysc-3.0.0-p1

Jed Brown jed at 59A2.org
Wed Mar 25 10:35:19 CDT 2009


On Wed 2009-03-25 10:26, Ravi Kannan wrote:
> Hi,
>  
> After I upgrade the petsc from 2.3.3 to 3.0.0, I have made the change for the
> superlu from
> _ierr = MatSetType(_A,MATSUPERLU_DIST)  
> to
> _ierr = MatSetType(_A,MAT_SOLVER_SUPERLU_DIST)

Should be

  PCFactorSetMatSolverPackage(pc,MAT_SOLVER_SUPERLU_DIST);

or use

  -pc_factor_mat_solver_package superlu_dist

on the command line.

Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090325/9be43009/attachment.pgp>


More information about the petsc-users mailing list