Index: /issm/trunk/src/m/clusters/pfe.m
===================================================================
--- /issm/trunk/src/m/clusters/pfe.m	(revision 5959)
+++ /issm/trunk/src/m/clusters/pfe.m	(revision 5960)
@@ -50,10 +50,10 @@
 					error('IsConsistent error message: cpuspernode should be between 1 and 8 for ''neh'' and ''har'' processors');
 				end
-			else if strcmpi(md.processor,'wes'),
+			elseif strcmpi(md.processor,'wes'),
 				if ((md.cpuspernode>12 ) | (md.cpuspernode<1)),
 					error('IsConsistent error message: cpuspernode should be between 1 and 12 for ''wes'' processors');
 				end
 			else
-				error('IsConsistent error message: unknown processor type, should be ''neh'',''wes'' or ''har'');
+				error('IsConsistent error message: unknown processor type, should be ''neh'',''wes'' or ''har''');
 			end
 
@@ -61,5 +61,7 @@
 		%}}}
 		function BuildQueueScript(md,modelname,analysis_type,mem_debug) % {{{1
-md.np=md.numnodes*md.cpuspernode;
+
+			%compute number of processors
+			md.np=md.numnodes*md.cpuspernode;
 			
 			%open file for writing: 
