Ticket 1752 - SLURM_JOB_GID or SLURM_JOB_GROUP in taskProlog
Summary: SLURM_JOB_GID or SLURM_JOB_GROUP in taskProlog
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Other (show other tickets)
Version: 14.11.5
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2015-06-17 18:21 MDT by Akmal Madzlan
Modified: 2016-12-15 09:10 MST (History)
2 users (show)

See Also:
Site: DownUnder GeoSolutions
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 17.02.0-pre4
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Akmal Madzlan 2015-06-17 18:21:06 MDT
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?
Comment 1 Moe Jette 2016-12-15 09:10:46 MST
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.