[petsc-users] Parallel direct solver

Jed Brown jed at 59A2.org
Thu Mar 31 07:09:20 CDT 2011


On Thu, Mar 31, 2011 at 14:57, Ormiston, Scott J.
<SJ_Ormiston at umanitoba.ca>wrote:

> If there is no parallel direct solver in PETSc, what should I use? I have
> seen some people recommend SuperLU. This seems to be a totally separate
> package from PETSc with its own syntax and setup. Therefore, I must start
> from scratch with the SuperLU setup and I cannot take advantage of the
> parallel matrix setup that I have already done to solve my problem with a
> ksp solver with PETSc.


Hey now, we're not sadists. ;-)

First configure PETSc with --download-superlu_dist or --download-mumps (or
install these packages yourself and use --with-superlu_dist-dir=, see the
output from ./configure --help for details).
Then just run your program with -pc_type lu -pc_factor_mat_solver_type
superlu_dist, no need to modify any code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110331/cc24ad9a/attachment-0001.htm>


More information about the petsc-users mailing list