From - http://slurm.schedmd.com/prolog_epilog.html SLURM_JOB_GID Group ID of the job's owner. Available in PrologSlurmctld and EpilogSlurmctld only. SLURM_JOB_GROUP Group name of the job's owner. Available in PrologSlurmctld and EpilogSlurmctld only. Is it possible to make both or one of these available in task prolog?
I've just added SLURM_JOB_GID in the following commit: https://github.com/SchedMD/slurm/commit/39fa402905d5857c74f9347602ea886d96c367a8 This will be available in version 17.02 when released. You can probably patch earlier versions of Slurm pretty easily if desired as this only involves a one-line change to the code.