- Timestamp:
- 08/25/09 17:56:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/BuildQueueingScriptGeneric.m
r1790 r1904 4 4 % Usage: 5 5 % BuildQueueingScriptGeneric(md,executionpath,codepath) 6 7 global ISSM_DIR 6 8 7 9 %Open queuing script file … … 15 17 fprintf(fid,'#!/bin/sh\n'); 16 18 fprintf(fid,'rm -rf %s/%s.lock\n',executionpath,md.name); 19 20 if md.mem_debug==0, 17 21 fprintf(fid,'mpirun -np %i %s/%s.exe %s %s.bin %s.outbin %s.lock 2> %s.errlog >%s.outlog & ',md.np,codepath,AnalysisTypeFromEnum(md.analysis_type),executionpath,md.name,md.name,md.name,md.name,md.name); 22 else 23 fprintf(fid,'LD_PRELOAD=%s mpirun -np %i %s --leak-check=full %s/%s.exe %s %s.bin %s.outbin %s.lock 2> %s.errlog >%s.outlog & ',[ISSM_DIR '/externalpackages/valgrind/install/lib/libmpidebug.so'],md.np,[ISSM_DIR '/externalpackages/valgrind/install/bin/valgrind'],codepath,AnalysisTypeFromEnum(md.analysis_type),executionpath,md.name,md.name,md.name,md.name,md.name); 24 end 25 18 26 fclose(fid);
Note:
See TracChangeset
for help on using the changeset viewer.