Variables de entorno de salida en SLURM#
Dentro de los script de ejecución se pueden invocar ciertas variables con las que podemos conocer cierta información de la ejecución dentro un script.
Documentación para variables de entono de slurm
Las más usadas son las siguiente:
Variable | |
---|---|
SLURM_ARRAY_JOB_ID | Job array's master job ID number. |
SLURM_JOB_ID | The ID of the job allocation. |
SLURM_JOBID | New version for the ID of the job allocation |
SLURM_JOB_DEPENDENCY | Set to value of the --dependency option |
SLURM_JOB_NAME | Name of the job. |
SLURM_JOB_NODELIST | List of nodes allocated to the job |
SLURM_JOB_NUM_NODES | Total number of nodes in the job's resource allocation |
SLURM_JOB_PARTITION | Name of the partition in which the job is running |
SLURM_NODELIST | List of nodes allocated to the job |
SLURM_SUBMIT_DIR | The directory from which sbatch was invoked |