example of call to superlu_dist

Fredrik Bengzon fredrik.bengzon at math.umu.se
Wed May 6 11:03:57 CDT 2009


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.
Regards
Fredrik Bengzon


More information about the petsc-users mailing list