Index: /issm/trunk/src/m/utils/Nightly/runme.m
===================================================================
--- /issm/trunk/src/m/utils/Nightly/runme.m	(revision 2256)
+++ /issm/trunk/src/m/utils/Nightly/runme.m	(revision 2257)
@@ -138,8 +138,10 @@
 		md.name=testname;
 		%check and modify number of cpus if necessary
-		np=feature('numCores');
-		if np<md.np;
-			disp(['warning: changing number of cpus to ' num2str(np) ]);
-			md.np=np;
+		numcpus=find_option(options,'numprocs');
+		if ~isempty(numcpus) & numcpus>1,
+			if md.np>numcpus,
+				disp(['warning: changing number of cpus to ' num2str(numcpus) ]);
+				md.np=numcpus;
+			end
 		end
 	end
