diff --git a/NEWS b/NEWS index 42fbeb40563063a69457ed96eec0f193a73a324d..f0038f010191b7a8cef06afa24454d7fe77ad180 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,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 ccad0330fe903ce3783c9cf4c38a7336968edd14..3d19d5c257ead03c03a6d231857887e0c6ad6bf7 100644 --- a/doc/man/man1/salloc.1 +++ b/doc/man/man1/salloc.1 @@ -1555,6 +1555,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 @@ -1575,6 +1578,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 0f5e0d088c9f4f26de4d2467e60cd577612087ba..35f46f2f681410e09c66ed0419a3a3d28b1a6bc8 100644 --- a/doc/man/man1/sbatch.1 +++ b/doc/man/man1/sbatch.1 @@ -1854,6 +1854,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 @@ -1880,6 +1883,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