Ticket 517

Summary: SLURM_* variables differ in prolog, task-prolog, task-epilog, epilog
Product: Slurm Reporter: David Kemeza <dkemeza>
Component: SchedulingAssignee: Moe Jette <jette>
Status: RESOLVED DUPLICATE QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: ascanio.alba7, da
Version: 2.6.x   
Hardware: Linux   
OS: Linux   
Site: NASA - NCCS 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:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description David Kemeza 2013-11-15 05:41:11 MST
There are some SLURM_* variables that are set in the prolog's environment that are not carried through to the task-prolog, the job's, task-epilog, and epilog environments.  
These would be nice to have to be able to trigger of these variables at every level of the job setup and teardown.

I'd like to see the following variables carried through the environment as it passes through the various phases.

SLURM_CLUSTER or SLURM_CLUSTERNAME (I think would need to be added)

SLURM_PARTITION This appears in the prolog and epilog environment but not in the task-prolog's or task-epilog's environment

SLURM_JOB_USER only appears in prolog, task-epilog, and epilog
Comment 1 David Bigagli 2013-11-15 05:51:53 MST
Duplicate 515

*** This ticket has been marked as a duplicate of ticket 515 ***