I am not sure about that one variable, however I gave up on using environmental variables in the prolog for the reasons described in an earlier thread at the following link
https://groups.google.com/g/slurm-users/c/R9adbpdZ22E/m/cZAkDIS5AAAJ On Wed, Mar 12, 2025 at 3:36 AM Jonás Arce via slurm-users < slurm-users@lists.schedmd.com> wrote: > Hi everyone, > > The Slurm variable SLURM_JOB_ACCOUNT is blank in my prolog, currently i > have a TaskProlog and a Prolog in my system, in TaskProlog this variable > works just fine (I use TaskProlog to set env variables), but in my Prolog > (which I use to create temporal directories), it's just blank, it's strange > beacuse other variables such as SLURM_JOB_PARTITION, SLURM_JOB_ACCOUNT or > SLURM_JOBID work just fine in both Prolog and TaskProlog, I looked into the > Slurm doc and it seems that this var should work everywhere, if someone > could shed some light into this or tell me another equivalent var i'd > appreciate it a lot. > I need it because I need to make this type of temporal directories with my > Prolog: /scratch-global/$SLURM_JOB_ACCOUNT/$SLURM_JOB_USER/$SLURM_JOBID. > > -- > slurm-users mailing list -- slurm-users@lists.schedmd.com > To unsubscribe send an email to slurm-users-le...@lists.schedmd.com >
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com