Hello Vitorio, On 1/14/25 1:14 AM, Vitorio Cargnini via slurm-users wrote:
Can environment variables be set up based on a specific queue? How do I set up the environment variables for a given queue?
The way you would do that is by creating a TaskProlog (not a regular Prolog) and define its location in the slurm.conf. You can make use of the SLURM_JOB_PARTITION env var to differentiate between queues/partitions. There you can export variable that will be part of the job execution environment.
These links should have everything you need: - https://slurm.schedmd.com/prolog_epilog.html - https://slurm.schedmd.com/slurm.conf.html Best, -- Roberto Polverelli Monti HPC System Engineer Do IT Now | https://doitnowgroup.com -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com