[petsc-users] PCFactorSetMatSolverPackage / PCFactorGetMatSolverPackage

Clemens Domanig clemens.domanig at uibk.ac.at
Tue Aug 2 04:28:24 CDT 2011


Hi,

usually I'm using MUMPS by puting '-pc_factor_mat_solver_package mumps' 
into the .petscrc.
Now I want to change in runtime between MUMPS and non-MUMPS so I tried 
to turn it on with
PCFactorSetMatSolverPackage( pre, MAT_SOLVER_MUMPS);
but I doesn't have any effect.

I also have a problem with PCFactorGetMatSolverPackage(). How can I get 
back an output as described in the documentation that has the type 'const'?
Thx - Clemens


More information about the petsc-users mailing list