[petsc-users] how to use external solvers

Sun, Hui hus003 at ucsd.edu
Thu Dec 4 00:22:48 CST 2014


Thank you Jed, I get it! 

Best,
Hui


________________________________________
From: Jed Brown [jed at jedbrown.org]
Sent: Wednesday, December 03, 2014 10:10 PM
To: Sun, Hui; petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] how to use external solvers

"Sun, Hui" <hus003 at ucsd.edu> writes:

> Hello,
>
> I try to use external packages such as umfpack or superlu, which are listed here:  http://www.mcs.anl.gov/research/projects/petsc/documentation/linearsolvertable.html
>
> I have PETSc compiled and installed with those external packages. Presumably I think to use umfpack would be simply to specify an option in the command line arguments. However, I had a hard time finding the correct option. How can I look it up? Thank you.

-pc_type lu -pc_factor_mat_solver_package umfpack

Linked from all the implementation pages on the table above:

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFactorSetMatSolverPackage.html#PCFactorSetMatSolverPackage


More information about the petsc-users mailing list