source:
issm/oecreview/Archive/20496-20544/ISSM-20535-20536.diff@
20545
Last change on this file since 20545 was 20545, checked in by , 9 years ago | |
---|---|
File size: 1.1 KB |
-
../trunk-jpl/src/m/classes/clusters/generic_static.m
50 50 %}}} 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 59 69 %in interactive mode, create a run file, and errlog and outlog file
Note:
See TracBrowser
for help on using the repository browser.