Changeset 6218
- Timestamp:
- 10/09/10 17:58:45 (14 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/@model/model.m
r6201 r6218 232 232 md.element_debugid=NaN; 233 233 md.mem_debug=0; 234 md.gprof=0; 234 235 md.memoryleaks=NaN; 235 236 -
issm/trunk/src/m/classes/clusters/astrid.m
r6152 r6218 58 58 end 59 59 %}}} 60 function BuildQueueScript(cluster,modelname,analysis_type,mem_debug) % {{{1 60 function BuildQueueScript(cluster,md) %{{{1 61 62 %retrieve parameters 63 modelname=md.name; 64 analysis_type=md.analysis_type; 65 mem_debug=md.mem_debug; 61 66 62 67 %open file for writing: … … 70 75 %fprintf(fid,'LD_PRELOAD=%s mpirun -np %i %s --leak-check=full --gen-suppressions=all --suppressions=%s %s/issm.exe %s %s %s.bin %s.petsc %s.outbin %s.lock 2> %s.errlog >%s.outlog & ',cluster.valgrindlib,cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,EnumToString(analysis_type),cluster.executionpath,modelname,modelname,modelname,modelname,modelname,modelname); 71 76 fprintf(fid,'LD_PRELOAD=%s mpirun -np %i %s --leak-check=full --suppressions=%s %s/issm.exe %s %s %s.bin %s.petsc %s.outbin %s.lock 2> %s.errlog >%s.outlog & ',cluster.valgrindlib,cluster.np,cluster.valgrind,cluster.valgrindsup, cluster.codepath,EnumToString(analysis_type),cluster.executionpath,modelname,modelname,modelname,modelname,modelname,modelname); 77 end 78 79 if md.gprof, 80 fprintf(fid,'\n gprof %s/issm.exe gmon.out > %s.performance',cluster.codepath,modelname); 72 81 end 73 82 -
issm/trunk/src/m/model/solveparallel.m
r6038 r6218 21 21 22 22 %Now, we need to build the queuing script, used by the cluster to launch the job. 23 cluster.BuildQueueScript(md .name,md.analysis_type,md.mem_debug);23 cluster.BuildQueueScript(md); 24 24 25 25 %Now, launch the queueing script
Note:
See TracChangeset
for help on using the changeset viewer.