|
|
The Slurm options --mem, --mem-per-cpu and --mem-per-gpu do not currently allow you to suitably configure the memory allocation of your job on Jean Zay. The memory allocation is automatically determined by the number of reserved CPUs.
|
|
|
|
|
|
To adjust the amount of memory allocated to your job, you must adjust the number of CPUs reserved per task (or GPU) by specifying the following option in your batch scripts, or when using salloc in interactive mode:
|
|
|
|
|
|
--cpus-per-task=... # --cpus-per-task=1 by default
|
|
|
|
|
|
Be careful, --cpus-per-task=1 is by default. If you do not modify its value, as explained below, you will not have access to as much memory per GPU as you could have and this could rapidly result in memory overflow. |