example of call to superlu_dist

Satish Balay balay at mcs.anl.gov
Wed May 6 12:16:56 CDT 2009


On Wed, 6 May 2009, Satish Balay wrote:

> PCFactorSetMatSolverPackage() works for me with a test example.

> On Wed, 6 May 2009, Fredrik Bengzon wrote:
> 
> > Hi
> > Is there an example of how to call superlu_dist somewhere. I'm  not looking
> > for command line options, but how to call KSP in my code when using
> > superlu_dist. I've set the KSPPREONLY, and PCLU options, and also made a call
> > to PCFactorSetMatSolverPackage(), but this does not seem to be the right way
> > to do it. Petsc aborts with error message 'mpiaij matrix does not have a
> > build-in LU solver'. Do I need to specify any particular matrix format to use
> > with superlu_dist? Any input is appreciated.

BTW: Did you build PETSc with superlu_dist? Do the examples work with
superlu_dist - with the command line options:

'-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package superlu_dist'

Satish


More information about the petsc-users mailing list