Auto add GPU partition in SLURM template when a GPU is selected
The new GLiCID SLURM configuration (> Aug. 2024) requires to have an explicit GPU partition in the configuration to assign the ressources otherwise the job will be discarded:
#SBATCH --partition=gpu
However, at the moment the form template only fill the partition field only if a partition is explicitly selected:
{% if partition %}#SBATCH --partition={{partition}}{% endif %}
Workaround
Select explicitly the GPU partition in the Advanced cluster configuration section:
/cc @gaignard-a
Modification effectuée par Benoit SEIGNOVERT
