Mercury
Macros | Functions
na_mpi.h File Reference
#include "na.h"
#include <mpi.h>
Include dependency graph for na_mpi.h:

Go to the source code of this file.

Macros

#define MPI_INIT_SERVER   0x01 /* set up to listen for unexpected messages */
 
#define MPI_INIT_STATIC   0x10 /* set up static inter-communicator */
 

Functions

NA_EXPORT na_return_t NA_MPI_Set_init_intra_comm (MPI_Comm intra_comm)
 Set MPI intra_comm used when initializing the MPI plugin. More...
 
NA_EXPORT const char * NA_MPI_Get_port_name (na_class_t *na_class)
 Get port name used by server (only valid if plugin initialized with MPI_INIT_SERVER). More...
 

Macro Definition Documentation

#define MPI_INIT_SERVER   0x01 /* set up to listen for unexpected messages */

Definition at line 19 of file na_mpi.h.

#define MPI_INIT_STATIC   0x10 /* set up static inter-communicator */

Definition at line 20 of file na_mpi.h.

Function Documentation

NA_EXPORT na_return_t NA_MPI_Set_init_intra_comm ( MPI_Comm  intra_comm)

Set MPI intra_comm used when initializing the MPI plugin.

Parameters
intra_comm[IN] MPI communicator used for intra-communication within a local set of processes.
Returns
NA_SUCCESS or corresponding NA error code
NA_EXPORT const char* NA_MPI_Get_port_name ( na_class_t na_class)

Get port name used by server (only valid if plugin initialized with MPI_INIT_SERVER).

Parameters
na_class[IN] pointer to NA class
Returns
Pointer to string