Index: /issm/trunk/src/m/model/solvers/mumpsoptions.m
===================================================================
--- /issm/trunk/src/m/model/solvers/mumpsoptions.m	(revision 6854)
+++ /issm/trunk/src/m/model/solvers/mumpsoptions.m	(revision 6855)
@@ -4,10 +4,17 @@
 %   Usage:
 %      options=mumpsoptions;
-			 
+
+global PETSC_VERSION
+
 %retrieve options provided in varargin
 arguments=pairoptions(varargin{:});
 
 %default mumps options
-options={{'mat_type','aijmumps'},{'ksp_type','preonly'},{'pc_type','lu'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
+if PETSC_VERSION==2,
+	options={{'mat_type','aijmumps'},{'ksp_type','preonly'},{'pc_type','lu'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
+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'}};
+end
 
 %now, go through our arguments, and write over default options.
