Don't call MPI_Comm_split if NCCL_TESTS_SPLIT_MASK is not set#151
Don't call MPI_Comm_split if NCCL_TESTS_SPLIT_MASK is not set#151tstruk wants to merge 1 commit into
Conversation
No need to call MPI_Comm_split if the NCCL_TESTS_SPLIT_MASK variable is not set. It only causes unnecessary traffic with no real effect, and in some cases might cause the ranks be invalid. Signed-off-by: Tadeusz Struk <tstruk@gigaio.com>
Can you say more about this? |
Hi, and and here is what I see: The MPICH documentation [1] says that the color should be "non-negative integer" so 0 should be ok, but it's not. [1] - https://www.mpich.org/static/docs/v4.1.2/www3/MPI_Comm_split.html |
No need to call MPI_Comm_split if the NCCL_TESTS_SPLIT_MASK variable is not set.
It only causes unnecessary traffic with no real effect, and in some cases might cause the ranks be invalid.