source:
issm/oecreview/Archive/25834-26739/ISSM-26396-26397.diff
Last change on this file was 26740, checked in by , 3 years ago | |
---|---|
File size: 881 bytes |
-
../trunk-jpl/src/m/classes/clusters/discover.py
134 134 fid.write('#SBATCH -e {}.errlog \n'.format(modelname)) 135 135 fid.write('#SBATCH -n {} \n'.format(self.nprocs())) 136 136 fid.write('#SBATCH -N {} \n'.format(self.numnodes)) 137 fid.write('#SBATCH -t {:02d}:{:02d}:00 \n'.format( floor(self.time / 3600), floor(self.time % 3600) / 60))137 fid.write('#SBATCH -t {:02d}:{:02d}:00 \n'.format(int(floor(self.time / 3600)), int(floor(self.time % 3600) / 60))) 138 138 fid.write('#SBATCH -A {} \n\n'.format(self.grouplist)) 139 139 if (self.email.find('@')>-1): 140 140 fid.write('#SBATCH --mail-user={} \n'.format(self.email))
Note:
See TracBrowser
for help on using the repository browser.