Hi, I would like to use a sbatch script with a license request using -L. However I would like to calculate the license necessary from the cpus that is being requested.
Ex: #SBATCH -N 1 #SBATCH --ntasks=2 #SBATCH -L [ here I would like to calculate it like ( perl -e "int $SLURM_NTASKS * 0.422 * 5 " ) ] However environmental variables within sbatch lines are not allowed. I could not find the output environmental variable to set the license usage externally. I like the sbtach scripts for job submission. I don't want to wrap the job submission process in scripts. I would like to expose user to slurm as much as possible, and use scripts as little as possible. Any way to do this kind of thing? Oytun Peksel Eng Simulation & Digital Twins Semcon Sweden AB Lindholmsallén 2 417 80 GÖTEBORG Sweden Phone +46739205917 Mobile +46739205917 E-mail oytun.pek...@semcon.com <mailto:oytun.pek...@semcon.com> www.semcon.com<http://www.semcon.com> Follow us: LINKEDIN<https://www.linkedin.com/company/semcon> FACEBOOK<https://www.facebook.com/semcon> TWITTER<https://twitter.com/Semcon> YOUTUBE<https://www.youtube.com/user/SemconGlobal> INSTAGRAM<https://www.instagram.com/semcon> When you communicate with us or otherwise interact with Semcon, we will process personal data that you provide to us or we collect about you, please read more in our Privacy Policy<https://semcon.com/data-privacy-policy/>.