From 2379858ba1fea1cb8b952ea55f0acc8992b83366 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Wed, 27 Jul 2016 15:53:27 -0700 Subject: [PATCH] Document SLURM_JOB_ACCOUNT and SLURM_JOB_QOS env vars Document that the SLURM_JOB_ACCOUNT and SLURM_JOB_QOS environment variables are set for the srun command in its man page. bug 2945 --- NEWS | 2 +- doc/man/man1/srun.1 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f0038f01019..f29ed500599 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,7 @@ documents those changes that are of interest to users and administrators. -- Document that persistent burst buffers can not be created or destroyed using the salloc or srun --bb options. -- Document that the SLURM_JOB_ACCOUNT and SLURM_JOB_QOS environment variables - are set for the salloc and sbatch commands in their man pages. + are set for the srun and sbatch commands in their man pages. * Changes in Slurm 16.05.3 ========================== diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1 index 26ef41a5db1..a5a5a7c29eb 100644 --- a/doc/man/man1/srun.1 +++ b/doc/man/man1/srun.1 @@ -2602,6 +2602,9 @@ with \-m, \-\-distribution. Global task IDs running on this node. Zero origin and comma separated. .TP +\fBSLURM_JOB_ACCOUNT\fR +Account name associated of the job allocation. +.TP \fBSLURM_JOB_CPUS_PER_NODE\fR Number of CPUS per node. .TP @@ -2621,6 +2624,10 @@ create a job step (i.e. within an existing job allocation). \fBSLURM_JOB_PARTITION\fR Name of the partition in which the job is running. +.TP +\fBSLURM_JOB_QOS\fR +Quality Of Service (QOS) of the job allocation. + .TP \fBSLURM_LAUNCH_NODE_IPADDR\fR IP address of the node from which the task launch was -- GitLab