Thank you Jed, I get it! 

Best,
Hui


________________________________________
From: Jed Brown [[email protected]]
Sent: Wednesday, December 03, 2014 10:10 PM
To: Sun, Hui; [email protected]
Subject: Re: [petsc-users] how to use external solvers

"Sun, Hui" <[email protected]> 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

Reply via email to