wrap
wrap copied to clipboard
Newer MPI_Session handle is not recognized by wrap.py
Newer openmpi 5.0.* introduced a new handle MPI_Session which was not recognized by wrap.py. The code diff below adds the new definition to the handles list. The change addresses the build issue seen with spack. Apparently MPI_Session is in mpi standard 3.1.
66 | 166 |
-- | -- | --
167 | 167 | # Set of MPI Handle types
168 | 168 | mpi_handle_types = set(["MPI_Comm", "MPI_Errhandler", "MPI_File", "MPI_Group", "MPI_Info",
169 | | - "MPI_Op", "MPI_Request", "MPI_Status", "MPI_Datatype", "MPI_Win" ])
| 169 | + "MPI_Op", "MPI_Request", "MPI_Status", "MPI_Datatype", "MPI_Win", "MPI_Session" ])
170 | 170 |
171 | 171 | # MPI Calls that have array parameters, and mappings from the array parameter positions to the position
Just letting the wrap team know that this issue is out there. We fixed our copy of wrap.py that we have in our code. Thanks, Jim G