Only create shared memory when more than one process exists.
If there is only one process on the node in the particular
communicator, we don't need to allocate any shared memory for it. In
this case, we simply call the non-shared-memory functions for
Win_allocate and free.
Signed-off-by:
Xin Zhao <xinzhao3@illinois.edu>
Please register or sign in to comment