Index: /issm/trunk/src/c/modules/Solverx/Solverx.cpp
===================================================================
--- /issm/trunk/src/c/modules/Solverx/Solverx.cpp	(revision 6857)
+++ /issm/trunk/src/c/modules/Solverx/Solverx.cpp	(revision 6858)
@@ -32,5 +32,6 @@
 
 	#if _PETSC_VERSION_ == 3 
-	const MatType type;
+	char ksp_type[50];
+	PetscTruth flg;
 	#endif
 
@@ -47,6 +48,6 @@
 	/*Now, check that we are not getting an initial guess to the solver, if we are running a direct solver: */
 	#if _PETSC_VERSION_ == 3 
-	MatGetType(Kff,&type);
-	if (strcmp(type,"mpidense")==0)uf0=NULL;
+	PetscOptionsGetString(PETSC_NULL,"-ksp_type",ksp_type,49,&flg);
+	if (strcmp(ksp_type,"preonly")==0)uf0=NULL;
 	#endif
 	
Index: /issm/trunk/src/m/model/solvers/mumpsoptions.m
===================================================================
--- /issm/trunk/src/m/model/solvers/mumpsoptions.m	(revision 6857)
+++ /issm/trunk/src/m/model/solvers/mumpsoptions.m	(revision 6858)
@@ -15,5 +15,6 @@
 end
 if PETSC_VERSION==3,
-options={{'mat_type','mpidense'},{'ksp_type','preonly'},{'pc_type','lu'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
+	options={{'mat_type','mpiaij'},{'ksp_type','preonly'},{'pc_type','lu'},{'pc_factor_mat_solver_package','mumps'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
+
 end
 
