jeffhammond / miscellaneous-mpi-issues

Tickets for the MPI Forum
http://www.mpi-forum.org/
0 stars 0 forks source link

MPI datatype info keys #3

Open jeffhammond opened 8 years ago

jeffhammond commented 8 years ago

This ticket proposes a new function that allows the user to specify an info key for MPI datatypes.

The motivation for this is:

The new functions proposed are

MPI_TYPE_COMMIT_WITH_INFO(datatype, info)
   INOUT datatype - datatype that is committed (handle)
   IN    info - associated info key

MPI_TYPE_GET_INFO(datatype, info)
   IN     datatype - datatype (handle)
   INOUT  info - associated info key

The reason that MPI_TYPE_DUP_WITH_INFO is not desirable is that the overhead of doing this is non-negligible as compared to MPI_COMM_DUP. Furthermore, one of the motivations is to affect how the commit process occurs, so this information should be present at this time.