I would like to set the Matrix Solver Package to mumps for a SLEPcEigenSolver object, where the spectal transformation is set to "shift and invert". In the PETSc/SLEPc C-API this can be set with the following code
ST myst;
EPSGetST(eps_,&myst);
STSetType(myst,STSINVERT);
KSP myksp;
STGetKSP(myst, &myksp);
KSPSetType(myksp, KSPPREONLY);
PC mypc;
KSPGetPC(myksp,&mypc);
PCSetType(mypc,PCLU);
PCFactorSetMatSolverPackage(mypc,MATSOLVERMUMPS);
How can this be set from python?