#include "na.h"
#include <mpi.h>
Go to the source code of this file.
#define MPI_INIT_SERVER 0x01 /* set up to listen for unexpected messages */ |
#define MPI_INIT_STATIC 0x10 /* set up static inter-communicator */ |
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
-
- Returns
- Pointer to string