Closed tdhock closed 5 years ago
batchtools expects walltimes in seconds, so I believe the division by 60 is correct here. However, the comments in the template files are obviously wrong.
ok well in that case I would suggest changing the comments in that template please
I just ran a test and can confirm that dividing by 60 is correct. I fixed the comments in the template. Thanks for reporting.
comments/docs say that walltime resource is in minutes. it should therefore be passed directly to --time parameter (without dividing by 60) because time expects minutes. see https://slurm.schedmd.com/sbatch.html
The important part is
Acceptable time formats include "minutes",
which means that raw numbers given to the --time parameter are interpreted as minutesAlso you probably want to fix the relevant part of the other slurm templates