Changeset 9565
- Timestamp:
- 09/01/11 16:39:40 (14 years ago)
- Location:
- issm/trunk/src/m/classes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/clusters/castor.m
r9561 r9565 60 60 modelname=md.name; 61 61 solution_type=md.solution_type; 62 mem_debug=md.mem_debug;63 62 64 63 %open file for writing: -
issm/trunk/src/m/classes/clusters/cosmos.m
r9561 r9565 60 60 modelname=md.name; 61 61 solution_type=md.solution_type; 62 mem_debug=md.mem_debug;63 62 64 63 %open file for writing: -
issm/trunk/src/m/classes/clusters/gemini.m
r9561 r9565 60 60 modelname=md.name; 61 61 solution_type=md.solution_type; 62 mem_debug=md.mem_debug;63 62 64 63 %open file for writing: -
issm/trunk/src/m/classes/clusters/generic.m
r9561 r9565 74 74 modelname=md.name; 75 75 solution_type=md.solution_type; 76 mem_debug=md.mem_debug; 76 isvalgrind=md.debug.valgrind; 77 isgprof=md.debug.gprof; 77 78 78 79 %open file for writing: … … 81 82 %write instructions for launching a job on the cluster 82 83 fprintf(fid,'#!/bin/sh\n'); 83 if mem_debug==0,84 if ~isvalgrind, 84 85 if cluster.interactive 85 86 fprintf(fid,'mpiexec -np %i %s/issm.exe %s %s %s ',... … … 95 96 end 96 97 97 if md.gprof,98 if isgprof, 98 99 fprintf(fid,'\n gprof %s/issm.exe gmon.out > %s.performance',cluster.codepath,modelname); 99 100 end -
issm/trunk/src/m/classes/clusters/pfe.m
r9561 r9565 110 110 modelname=md.name; 111 111 solution_type=md.solution_type; 112 mem_debug=md.mem_debug;112 isvalgrind=md.debug.valgrind; 113 113 114 114 %compute number of processors … … 151 151 if cluster.interactive, 152 152 fid=fopen([modelname '.run'],'w'); 153 if ~ mem_debug,153 if ~isvalgrind, 154 154 fprintf(fid,'mpiexec -verbose -np %i %s/issm.exe %s $PBS_O_WORKDIR %s\n',cluster.np,cluster.codepath,EnumToString(solution_type),modelname); 155 155 else -
issm/trunk/src/m/classes/clusters/pollux.m
r9561 r9565 60 60 modelname=md.name; 61 61 solution_type=md.solution_type; 62 mem_debug=md.mem_debug;63 62 64 63 %open file for writing: -
issm/trunk/src/m/classes/model/model.m
r9564 r9565 12 12 results = modelfield('default',0,'marshall',false); 13 13 solver = modelfield('default',0,'marshall',false); 14 debug = modelfield('default',0,'marshall',false); 14 15 15 16 %FIXME: all other fields should belong to other classes … … 198 199 %Output 199 200 requested_outputs = modelfield('default',NaN,'marshall',true,'format','DoubleMat','mattype',3); 200 %Debugging201 mem_debug = modelfield('default',0,'marshall',false);202 gprof = modelfield('default',0,'marshall',false);203 201 %Results fields 204 202 output_frequency = modelfield('default',0,'marshall',true,'format','Integer');
Note:
See TracChangeset
for help on using the changeset viewer.