Index: /issm/trunk/src/m/utils/Nightly/testsgetfields.m
===================================================================
--- /issm/trunk/src/m/utils/Nightly/testsgetfields.m	(revision 4541)
+++ /issm/trunk/src/m/utils/Nightly/testsgetfields.m	(revision 4542)
@@ -26,6 +26,8 @@
 		vel=zeros(md.numberofgrids,1);
 		vel(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value;
-		j=md.results.DiagnosticSolution.J;
-		parameter=zeros(md.numberofgrids,1);
+		if ~strcmpi(md.cluster,'none'),
+			j=md.results.DiagnosticSolution.J;
+			parameter=zeros(md.numberofgrids,1);
+		end
 		if strcmpi(md.control_type,'rheology_B'),
 			parameter(md.results.DiagnosticSolution.RheologyB.index)=md.results.DiagnosticSolution.RheologyB.value;
@@ -35,5 +37,9 @@
 			error('not implemented yet');
 		end
-		field_values={vel,j,parameter};
+		if ~strcmpi(md.cluster,'none'),
+			field_values={vel,j,parameter};
+		else
+			field_values={vel};
+		end
 	elseif qmu,
 		fields={'dakota.importancefactors'};
