Update home authored by van Vliet's avatar van Vliet
...@@ -1166,7 +1166,22 @@ Available environment variables include: ...@@ -1166,7 +1166,22 @@ Available environment variables include:
| CUDA_VISIBLE_DEVICES | which GPUs are available for use | | CUDA_VISIBLE_DEVICES | which GPUs are available for use |
### Job arrays ### Job arrays
[Job arrays](https://slurm.schedmd.com/job_array.html) [For job arrays see](https://slurm.schedmd.com/job_array.html)
Batch option:
* --array=0-31
You can cancel your job array with the command:
* scancel jobid_[0-31]
#### Environment variables
| Environment variable | Comment |
| --- | --- |
| SLURM_ARRAY_JOB_ID | set to the first job ID of the array |
| SLURM_ARRAY_TASK_ID | set to the job array index value |
| SLURM_ARRAY_TASK_COUNT | set to the number of tasks in the job array |
| SLURM_ARRAY_TASK_MAX | set to the highest job array index value |
| SLURM_ARRAY_TASK_MIN | set to the lowest job array index value |
## Remote GPU-accelerated Visualization on res-hpc-gpu01 ## Remote GPU-accelerated Visualization on res-hpc-gpu01
... ...
......