> Further, if an error is reached in MPI_Comm_rank, the code needs to set
> the value of the variable to a negative number, since all other values
> would possibly reference a valid rank.
If an error is reached in MPI_Comm_rank or MPI_Comm_size, the program should
be aborted (by default). So, what is the point in setting the variable (rank
or size) to a negative value since neither of those functions will return?
|