Setting a Range for the Number of Processes

If you want to set a limitation on the number of processes running on one node, you can use the perhost-range min:max option. For example: the following command restricts running anywhere from 4 to 8 MPI ranks on each node:

$ mpitune --perhost-range 4:8