Changeset 26034 for issm/trunk-jpl/src/m/classes
- Timestamp:
- 02/26/21 10:56:08 (4 years ago)
- Location:
- issm/trunk-jpl/src/m/classes/clusters
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/generic.m
r25956 r26034 28 28 29 29 %Change the defaults if ispc 30 if ispc ,30 if ispc & ~ismingw, 31 31 cluster.codepath = [issmdir() '\bin']; 32 32 cluster.etcpath = [issmdir() '\etc']; … … 145 145 146 146 if cluster.np>1, 147 fprintf(fid,'"C:\\Program Files\\MPICH2\\bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname); 147 % fprintf(fid,'"C:\\Program Files\\MPICH2\\bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname); 148 fprintf(fid,'"C:\\PROGRA~1\\MICROS~1\\Bin\\mpiexec.exe" -n %i "%s/%s" %s ./ %s ',cluster.np,cluster.codepath,executable,solution,modelname); 148 149 else 149 150 fprintf(fid,'"%s/%s" %s ./ %s ',cluster.codepath,executable,solution,modelname); -
issm/trunk-jpl/src/m/classes/clusters/localpfe.m
r25956 r26034 27 27 function cluster=localpfe(varargin) % {{{ 28 28 29 %Change the defaults if ispc 30 if ispc ,29 %Change the defaults if ispc and not ismingw 30 if ispc & ~ismingw, 31 31 cluster.codepath = [issmdir() '\bin']; 32 32 cluster.etcpath = [issmdir() '\etc']; … … 106 106 executable='issm_slc.exe'; 107 107 108 if ispc (), error('BuildQueueScriptMultipleModels not support yet on windows machines');end;108 if ispc & ~ismingw, error('BuildQueueScriptMultipleModels not support yet on windows machines');end; 109 109 110 110 %write queuing script … … 170 170 171 171 %write queuing script 172 if ~ispc (),172 if ~ispc, 173 173 174 174 fid=fopen([modelname '.queue'],'w'); … … 214 214 %}}} 215 215 function UploadQueueJob(cluster,modelname,dirname,filelist)% {{{ 216 if ~ispc ,216 if ~ispc | ismingw, 217 217 218 218 %compress the files into one zip. … … 262 262 function Download(cluster,dirname,filelist)% {{{ 263 263 264 if ispc (),264 if ispc && ~ismingw, 265 265 %do nothing 266 266 return; -
issm/trunk-jpl/src/m/classes/clusters/pfe.m
r25956 r26034 216 216 executable='issm_slc.exe'; 217 217 218 if ispc (), error('BuildQueueScriptMultipleModels not support yet on windows machines');end;218 if ispc & ~ismingw, error('BuildQueueScriptMultipleModels not support yet on windows machines');end; 219 219 220 220 %write queuing script
Note:
See TracChangeset
for help on using the changeset viewer.