Q1
How do you control the number of MPI processes on each node?
在 hosts中設置 slots ,hostname後面加上 slots = n,slots的數量表示該node可執行的processes數量。
For instance:
pp2 slots=4
pp3 slots=4
Which functions do you use for retrieving the rank of an MPI process and the total number of processes?
Retreve the rank of an MPI process: