Changeset 22111
- Timestamp:
- 09/19/17 15:58:37 (8 years ago)
- Location:
- issm/branches/trunk-larour-NatGeoScience2016/src/m/classes/clusters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/branches/trunk-larour-NatGeoScience2016/src/m/classes/clusters/generic.m ¶
r21759 r22111 158 158 end 159 159 %}}} 160 function BuildQueueScriptMultipleModels(cluster,dirname,modelname,solution, dirnames,modelnames,nps) % {{{160 function BuildQueueScriptMultipleModels(cluster,dirname,modelname,solution,isvalgrind,dirnames,modelnames,nps) % {{{ 161 161 162 162 %some checks: … … 172 172 173 173 fprintf(fid,'#!%s\n',cluster.shell); 174 175 mpistring=''; 176 177 %preload libraries 178 if isvalgrind, 179 mpistring=[mpistring sprintf('LD_PRELOAD=%s \n',cluster.valgrindlib)]; 180 end 174 181 175 182 %number of cpus: 176 mpistring=sprintf('mpiexec -np %i ',cluster.np); 177 183 mpistring=[mpistring sprintf('mpiexec -np %i ',cluster.np)]; 184 185 if isvalgrind, 186 mpistring=[mpistring sprintf(' %s --leak-check=full --error-limit=no --dsymutil=yes --suppressions=%s ',cluster.valgrind,cluster.valgrindsup)]; 187 end 188 178 189 %executable: 179 190 mpistring=[mpistring sprintf('%s/%s ',cluster.codepath,executable)]; 180 191 181 192 %solution name: 182 193 mpistring=[mpistring sprintf('%s ',solution)]; … … 195 206 %log files: 196 207 if ~cluster.interactive, 197 mpistring=[mpistring sprintf(' 2> %s.errlog> %s.outlog',modelname,modelname)];208 mpistring=[mpistring sprintf(' 2> %s.errlog> %s.outlog',modelname,modelname)]; 198 209 end 199 210 -
TabularUnified issm/branches/trunk-larour-NatGeoScience2016/src/m/classes/clusters/pfe.m ¶
r21759 r22111 203 203 end 204 204 end %}}} 205 function BuildQueueScriptMultipleModels(cluster,dirname,modelname,solution, dirnames,modelnames,nps) % {{{205 function BuildQueueScriptMultipleModels(cluster,dirname,modelname,solution,valgrind,dirnames,modelnames,nps) % {{{ 206 206 207 207 %some checks:
Note:
See TracChangeset
for help on using the changeset viewer.