[slurm-users] Auto-select partition?
Diego Zuccato
diego.zuccato at unibo.it
Fri Oct 2 08:47:58 UTC 2020
Il 02/10/20 09:06, Diego Zuccato ha scritto:
> But IIUC, even if there's no default partition and the user did not
> select one explicitly, slurm can automatically select one containing all
> the requested resources, right?
I'm also experimenting with heterogeneus jobs
https://slurm.schedmd.com/heterogeneous_jobs.html
that IIUC should be able to span multiple partitions:
-8<--
Slurm version 17.11 and later supports the ability to submit and manage
heterogeneous jobs, in which each component has virtually all job
options available including partition, account and QOS (Quality Of Service).
-8<--
I'm running 18.08, so it should apply. But a simple test job:
-8<--
$ cat hetjob.sh
#!/bin/bash
#SBATCH --time 1
#SBATCH --cpus-per-task=4 --mem-per-cpu=2g --ntasks=1 --partition=matrix
#SBATCH hetjob
#SBATCH --cpus-per-task=2 --mem-per-cpu=1g --ntasks=8 --partition=blade
hostname
sleep 50
-8<--
only allocates the first "pool" in partition 'matrix', nothing in 'blade' :(
Moreover, if I try to specify --nodes=2 I get
sbatch: Warning: can't run 1 processes on 2 nodes, setting nnodes to 1
What's wrong?
TIA
--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
More information about the slurm-users
mailing list