[Mpi3-ft] NUM_STATE vs STATE_SIZE

Darius Buntinas buntinas at mcs.anl.gov
Thu Jun 23 13:46:00 CDT 2011


A few calls ago, we discussed whether to use MPI_*_VALIDATE_NUM_STATE() vs MPI_*_VALIDATE_STATE_SIZE() to return the number of entries that would be returned by MPI_*_VALIDATE_GET_STATE().  

Doing a string search through the standard reveals that there are no matches for "_num" outside other than in the FT chapter for MPI_*_VALIDATE_NUM_STATE.  On the other hand, there are many matches for "_SIZE", e.g., MPI_COMM_SIZE, MPI_PACK_SIZE, MPI_TYPE_SIZE and MPI_GROUP_SIZE.

So based on precedence (and because I like it better), I think we should use MPI_*_VALIDATE_STATE_SIZE.

Comments?

-d





More information about the mpiwg-ft mailing list