Changeset 20536
- Timestamp:
- 04/22/16 11:54:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/generic_static.m
r20376 r20536 51 51 function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrind,isgprof,isdakota) % {{{ 52 52 53 %write queuing script 54 %what is the executable being called? 55 executable='issm.exe'; 56 if isdakota, 57 version=IssmConfig('_DAKOTA_VERSION_'); version=str2num(version(1:3)); 58 if (version>=6), 59 executable='issm_dakota.exe'; 60 end 61 end 62 53 63 %write queuing script 54 64 fid=fopen([modelname '.queue'],'w'); 55 65 fprintf(fid,'#!%s\n',cluster.shell); 56 fprintf(fid,[cluster.codepath '/mpiexec -np %i %s/ issm.exe %s %s %s \n'],cluster.np,cluster.codepath,EnumToString(solution),'./',modelname);66 fprintf(fid,[cluster.codepath '/mpiexec -np %i %s/%s %s %s %s \n'],cluster.np,cluster.codepath,executable,EnumToString(solution),'./',modelname); 57 67 fclose(fid); 58 68
Note:
See TracChangeset
for help on using the changeset viewer.