Changeset 26341
- Timestamp:
- 06/30/21 23:48:59 (4 years ago)
- Location:
- issm/trunk-jpl/src/m/classes/clusters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/generic.m
r26330 r26341 70 70 end 71 71 %}}} 72 function numprocs=nprocs(cluster) % {{{ 73 numprocs=cluster.np; 74 end 75 %}}} 72 76 function md = checkconsistency(cluster,md,solution,analyses) % {{{ 73 77 if cluster.np<1 -
issm/trunk-jpl/src/m/classes/clusters/generic.py
r26332 r26341 70 70 s += ' shell: {}\n'.format(self.shell) 71 71 return s 72 # }}} 73 74 def nprocs(self): # {{{ 75 return self.np 72 76 # }}} 73 77 … … 202 206 def LaunchQueueJob(self, modelname, dirname, filelist, restart, batch): # {{{ 203 207 print('launching solution sequence on remote cluster') 204 if restart:208 if not isempty(restart): 205 209 launchcommand = 'cd {} && cd {} chmod 755 {}.queue && ./{}.queue'.format(self.executionpath, dirname, modelname, modelname) 206 210 else:
Note:
See TracChangeset
for help on using the changeset viewer.