Closed raffenet closed 1 month ago
Updated this ticket to reflect the current discussion in the working group. It is added to the agenda for the October 2023 meeting.
In Option (2), we could/should use MPI_COMM_SELF instead of MPI_COMM_WORLD, or use all three built-in/predefined communicators (MPI_COMM_SELF, MPI_COMM_WORLD, and the communicator returned by MPI_COMM_PARENT, if it is not MPI_COMM_NULL).
This passed a no-no vote on 2023-12-04.
Yes | No | Abstain |
27 | 0 | 3 |
This passed an errata vote on 2023-12-05.
Yes | No | Abstain |
24 | 0 | 6 |
Problem
In the latest MPI-4.1 draft (page 509, section 11.4.3), it states:
However this is a change in the way values are reported in
MPI_INFO_ENV
. Historically,MPI_INFO_ENV
returned values that corresponded to the "requested" value for a particular setting. That is, the values passed to the startup mechanism (mpiexec, MPI_COMM_SPAWN, MPI_COMM_SPAWN_MULTIPLE, etc).Proposal
Option 1: Further clarify that
MPI_INFO_ENV
reports the providedmpi_memory_alloc_kinds
. This will require dealing with corner cases caused byMPI_Info_create_env
where the MPI library is not yet initialized; where the sessions model is in use and sessions exist with differing alloc kinds; or where sessions and world models are combined.Option 2: Clarify that
MPI_INFO_ENV
reports the requested memory allocation kinds and that the memory allocation kinds supported by the MPI library can be checked by querying thempi_memory_alloc_kinds
info key fromMPI_COMM_WORLD
in the world model or from a session in the sessions model.Changes to the Text
TBD
Impact on Implementations
None.
Impact on Users
Little to none.
mpi_memory_alloc_kinds
is not yet standard. No known examples of this usage are in existence.References and Pull Requests
PR https://github.com/mpi-forum/mpi-standard/pull/946