All DART API calls validate the unitId arguments (source and destination) to be in the range 0 <= unitId < team_size. Unfortunately, this prohibits the possibility to pass DART_UNEFINED_UNIT_ID as an equivalent to MPI_PROC_NULL which is a valid parameter in MPI communication routines. This greatly simplifies code and leaves possible optimizations to MPI. We do not have a notion of DART_UNIT_ID_NULL or something similar. That is something we certainly need. At least I need it in dash::sort to provide a very simple ring-communication based on dart_sendrecv.
All DART API calls validate the unitId arguments (source and destination) to be in the range
0 <= unitId < team_size. Unfortunately, this prohibits the possibility to passDART_UNEFINED_UNIT_IDas an equivalent toMPI_PROC_NULLwhich is a valid parameter in MPI communication routines. This greatly simplifies code and leaves possible optimizations to MPI. We do not have a notion ofDART_UNIT_ID_NULLor something similar. That is something we certainly need. At least I need it indash::sortto provide a very simple ring-communication based ondart_sendrecv.