In the never ending excitement of learning how to use Hyak I learned something new about Slurm and
sbatch is unable to take arguments via the command line, so if you try something like
sbatch -s srlab -A srlab PBRun.sh --time 40:00:00 to run the PBRun.sh script from yesterday requesting 40 hours of run time, it will ignore the –time argument and run at the default of 1 hour. Not useful when you’re running a gap filling program that may take days to run.
A little bit of reading led me to realize that
sbatch won’t accept arguments via the command line, instead requiring them to be passed via a shell/batch file that looks like
After passing the batch file arguments to
sbatch it seems to be running fine, with 10 days of max run time and 400gb of system ram requested on one node.
So… progress? Now to see if we get an angry email from the Hyak admin staff for not optimally using our node.