diff --git a/NEWS b/NEWS index 037afdf272a90283718f6c1e614b15e6d80d343b..8c4cfdb2d31787bbfc053dad54349e9479c0149f 100644 --- a/NEWS +++ b/NEWS @@ -55,6 +55,8 @@ documents those changes that are of interest to users and administrators. -- Fix incorrect casting when [un]packing derived_ec on slurmdb_job_rec_t. -- 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. * Changes in Slurm 16.05.3 ========================== diff --git a/doc/man/man1/salloc.1 b/doc/man/man1/salloc.1 index 30f0e1993c2b6b17acf18b61fc045a691750059c..ab715c9c32b071a0773367472b7f3275c9649fc7 100644 --- a/doc/man/man1/salloc.1 +++ b/doc/man/man1/salloc.1 @@ -1563,6 +1563,9 @@ Only set if the \fB\-\-cpus\-per\-task\fR option is specified. \fBSLURM_DISTRIBUTION\fR Same as \fB\-m, \-\-distribution\fR .TP +\fBSLURM_JOB_ACCOUNT\fR +Account name associated of the job allocation. +.TP \fBSLURM_JOB_ID\fR (and \fBSLURM_JOBID\fR for backwards compatibility) The ID of the job allocation. .TP @@ -1583,6 +1586,9 @@ Total number of nodes in the 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_MEM_BIND\fR Set to value of the \-\-mem_bind\fR option. .TP diff --git a/doc/man/man1/sbatch.1 b/doc/man/man1/sbatch.1 index 0d34c325be3119c596e816dfc51312a3fbf40775..def6b677f244e1916c34e76d6463d6a1d7dd9521 100644 --- a/doc/man/man1/sbatch.1 +++ b/doc/man/man1/sbatch.1 @@ -1863,6 +1863,9 @@ Same as \fB\-m, \-\-distribution\fR \fBSLURM_GTIDS\fR 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_ID\fR (and \fBSLURM_JOBID\fR for backwards compatibility) The ID of the job allocation. .TP @@ -1889,6 +1892,9 @@ Total number of nodes in the job's resource 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_LOCALID\fR Node local task ID for the process within a job. .TP