Update SLURM instructions in fox

We no longer need to use srun to enter the allocated machine. Make sure
that the default allocation time is also specified.

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit was merged in pull request #2.
This commit is contained in:
2026-02-04 10:05:05 +01:00
parent 29427b4b00
commit 5f18335d14

View File

@@ -22,19 +22,16 @@ the detailed specifications:
## Access ## Access
To access the machine, request a SLURM session from [apex](/apex) using the `fox` To access the machine, request a SLURM session from [apex](/apex) using the `fox`
partition. If you need the machine for performance measurements, use an partition and set the time for the reservation (the default is 1 hour). If you
exclusive reservation: need the machine for performance measurements, use an exclusive reservation:
apex% salloc -p fox --exclusive apex% salloc -p fox -t 02:00:00 --exclusive
fox%
Otherwise, specify the CPUs that you need so other users can also use the node Otherwise, specify the CPUs that you need so other users can also use the node
at the same time: at the same time:
apex% salloc -p fox -c 8 apex% salloc -p fox -t 02:00:00 -c 8
Then use srun to execute an interactive shell:
apex% srun --pty $SHELL
fox% fox%
Make sure you get all CPUs you expect: Make sure you get all CPUs you expect: