NewMadeleine

Documentation

« back to PM2 home.
nm_mpi_nmad.h File Reference
#include <nm_public.h>
#include <nm_session_interface.h>
#include <nm_coll_interface.h>
#include <mpi.h>
Include dependency graph for nm_mpi_nmad.h:

Go to the source code of this file.

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