MadMPI nmad-specific interface to use MPI alongside native nmad
Functions | |
| nm_session_t | nm_mpi_nmad_session (MPI_Comm comm) |
| get session from MPI communicator | |
| nm_comm_t | nm_mpi_comm (MPI_Comm comm) |
| get NewMadeleine communicator from MPI communicator | |
| void | nm_mpi_nmad_dest (nm_session_t *p_session, nm_gate_t *p_gate, MPI_Comm comm, int rank) |
| get session & gate from MPI communicator & rank | |
| void | nm_mpi_nmad_data_get (struct nm_data_s *p_data, void *ptr, MPI_Datatype datatype, int count) |
| build a nm_data from MPI data in ptr, datatype, count | |
| void | nm_mpi_nmad_data_release (MPI_Datatype datatype) |
| release refcount for given datatype | |
Detailed Description
Function Documentation
◆ nm_mpi_comm()
◆ nm_mpi_nmad_data_get()
| void nm_mpi_nmad_data_get | ( | struct nm_data_s * | p_data, |
| void * | ptr, | ||
| MPI_Datatype | datatype, | ||
| int | count | ||
| ) |
build a nm_data from MPI data in ptr, datatype, count
◆ nm_mpi_nmad_data_release()
| void nm_mpi_nmad_data_release | ( | MPI_Datatype | datatype | ) |
release refcount for given datatype
◆ nm_mpi_nmad_dest()
| void nm_mpi_nmad_dest | ( | nm_session_t * | p_session, |
| nm_gate_t * | p_gate, | ||
| MPI_Comm | comm, | ||
| int | rank | ||
| ) |
get session & gate from MPI communicator & rank
◆ nm_mpi_nmad_session()
| nm_session_t nm_mpi_nmad_session | ( | MPI_Comm | comm | ) |
get session from MPI communicator