source: issm/oecreview/Archive/25834-26739/ISSM-26396-26397.diff

Last change on this file was 26740, checked in by Mathieu Morlighem, 3 years ago

CHG: added 25834-26739

File size: 881 bytes
  • ../trunk-jpl/src/m/classes/clusters/discover.py

     
    134134        fid.write('#SBATCH -e {}.errlog \n'.format(modelname))
    135135        fid.write('#SBATCH -n {} \n'.format(self.nprocs()))
    136136        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)))
    138138        fid.write('#SBATCH -A {} \n\n'.format(self.grouplist))
    139139        if (self.email.find('@')>-1):
    140140            fid.write('#SBATCH --mail-user={} \n'.format(self.email))
Note: See TracBrowser for help on using the repository browser.