Discussion:
exclusive access to nodes in a task and batch
Jeroen Meijer
2014-06-18 09:56:34 UTC
Permalink
To be able to measure the performance of my applications and want to have
exclusive access to nodes in the batch and in the tasks. It seems I can
only do either, not both.

If I start my batch script with sbatch run-experimentsand

run-experiments contains:

#SBATCH -N10
...
for 1..1000 do
srun -N1 -n1 --exclusive task &
done

Then each task will be executed exclusively on one node. But I also want to
have my batch executed exclusively, so if I add the --exclusive option to
the #SBATCH line the batch is executed exclusively, but the tasks not
anymore. What options should I use?
The Shared option on my partition is set to 'NO'.

Loading...