On Monday, 18 February 2019 2:15:35 PM PST Jing Gong wrote: > I am just wondering if there are any srun flags to > allocate the last MPI-rank to an exclusive node
Have a look at Slurm's heterogenous job support. There are restrictions around the MPI 's that support it though, I think you might need a recent version of Open-MPI for instance. https://slurm.schedmd.com/heterogeneous_jobs.html All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA