mxx icon indicating copy to clipboard operation
mxx copied to clipboard

mxx::comm.split with MPI_UNDEFINED

Open tcpan opened this issue 9 years ago • 0 comments

MPI_Comm_split with MPI_UNDEFINED as color would produce a subcommunicator == MPI_COMM_NULL.

currently, mxx::comm.split(color) when supplied with MPI_UNDEFINED does not appear to handle this case properly. Subsequent calls (even when logic is branched with "if (color == x)") results in an MPI error/exception.

tcpan avatar Mar 14 '16 15:03 tcpan