Changeset 19649
- Timestamp:
- 10/19/15 12:49:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/generic.m
r19640 r19649 93 93 94 94 %write queuing script 95 %what is the executable being called? 96 executable='issm.exe'; 97 version=IssmConfig('_DAKOTA_VERSION_'); version=str2num(version(1:3)); 98 if isdakota & (version>=6), 99 executable='issm_dakota.exe'; 100 end 101 95 102 if ~ispc(), 96 103 … … 100 107 if cluster.interactive 101 108 if IssmConfig('_HAVE_MPI_'), 102 fprintf(fid,'mpiexec -np %i %s/ issm.exe %s %s %s \n',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);103 else 104 fprintf(fid,'%s/ issm.exe %s %s %s ',cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);109 fprintf(fid,'mpiexec -np %i %s/%s %s %s %s \n',cluster.np,cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname); 110 else 111 fprintf(fid,'%s/%s %s %s %s ',cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname); 105 112 end 106 113 else 107 114 if IssmConfig('_HAVE_MPI_'), 108 fprintf(fid,'mpiexec -np %i %s/ issm.exe %s %s %s 2> %s.errlog >%s.outlog ',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname);109 else 110 fprintf(fid,'%s/ issm.exe %s %s %s 2> %s.errlog >%s.outlog ',cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname);115 fprintf(fid,'mpiexec -np %i %s/%s %s %s %s 2> %s.errlog >%s.outlog ',cluster.np,cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname); 116 else 117 fprintf(fid,'%s/%s %s %s %s 2> %s.errlog >%s.outlog ',cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname); 111 118 end 112 119 end
Note:
See TracChangeset
for help on using the changeset viewer.