I would actually expect the same output when adding the "--exclusive"
option to srun for such a simple case... why it is not?
### slurm.conf (2.2.7) ###
SelectType=select/cons_res
SelectTypeParameters=CR_Core_Memory
TaskPlugin=task/affinity
TopologyPlugin=topology/none
SchedulerType=sched/backfill
PreemptMode=suspend,gang
PreemptType=preempt/partition_prio
NodeName=foff[09-13] Procs=48 CoresPerSocket=12 Sockets=4
ThreadsPerCore=1 RealMemory=127000 Weight=1 Feature=6176,foff
PartitionName=DEFAULT DefaultTime=60 MinNodes=1 MaxNodes=UNLIMITED
MaxTime=UNLIMITED PreemptMode=SUSPEND Shared=FORCE:1 State=UP Default=NO
PartitionName=batch Nodes=foff[09-13] Priority=1 Default=YES
PartitionName=foff2 Nodes=foff[09-13] Priority=1000
###########################
[software@superb:~]$ srun -n 8 -N 2 -l hostname | sort
0: foff09
1: foff09
2: foff09
3: foff09
4: foff09
5: foff09
6: foff09
7: foff10
[software@superb:~]$ srun -n 8 -N 2 --exclusive -l hostname | sort
0: foff09
1: foff09
2: foff09
3: foff09
4: foff10
5: foff10
6: foff10
7: foff10