If the job can use more than one partition, specify their names in a comma separate list and the one offering earliest initiation will be used with no regard given to the partition name ordering (although higher priority partitions will be considered first).
The current behaviour works, however, it is surprising (only the first partition gets used):
See documentation https://slurm.schedmd.com/sbatch.html:
The current behaviour works, however, it is surprising (only the first partition gets used):
Created on 2021-04-09 by the reprex package (v1.0.0)