#SBATCH -L [ here I would like to calculate it like ( perl -e "int $SLURM_NTASKS * 0.422 * 5 " ) ]
I think a calculation like this needs to take place in the job_submit.lua. So you decide on a way for users to signal that they want this behavior, (partition, gre?) and that script calculates and sets the --licenses.
I would like to expose user to slurm as much as possible, and use scripts as little as possible.
Well, that exposes it to a lot of error and possibly abuse. regards, -- Mark Hahn | SHARCnet Sysadmin | h...@sharcnet.ca | http://www.sharcnet.ca | McMaster RHPCS | h...@mcmaster.ca | 905 525 9140 x24687 | Compute/Calcul Canada | http://www.computecanada.ca