declarations for MPI environmental management More...
Go to the source code of this file.
Macros | |
#define | MPI_VERSION 4 |
#define | MPI_SUBVERSION 0 |
Functions | |
Functions: Environmental management | |
int | MPI_Init (int *argc, char ***argv) |
This routine must be called before any other MPI routine. More... | |
int | MPI_Init_thread (int *argc, char ***argv, int required, int *provided) |
The following function may be used to initialize MPI, and initialize the MPI thread environment, instead of MPI_Init(). More... | |
int | MPI_Query_thread (int *provided) |
Return the level of thread support provided by the MPI library. More... | |
int | MPI_Initialized (int *flag) |
Indicates whether MPI_Init has been called. More... | |
int | MPI_Finalize (void) |
This routine must be called by each process before it exits. More... | |
int | MPI_Finalized (int *flag) |
Indicates whether MPI_Finalize has been called. More... | |
int | MPI_Abort (MPI_Comm comm, int errorcode) |
This routine makes a `‘best attempt’' to abort all tasks in the group of comm. More... | |
int | MPI_Get_processor_name (char *name, int *resultlen) |
This routine returns the name of the processor on which it was called at the moment of the call. More... | |
double | MPI_Wtime (void) |
Returns a floating-point number of seconds, representing elapsed wall-clock time since some time in the past. More... | |
double | MPI_Wtick (void) |
Returns the resolution of MPI_Wtime() in seconds. More... | |
int | MPI_Error_string (int errorcode, char *string, int *resultlen) |
Returns the error string associated with an error code or class. More... | |
int | MPI_Error_class (int errorcode, int *errorclass) |
int | MPI_Add_error_class (int *errorclass) |
int | MPI_Add_error_code (int errorclass, int *errorcode) |
int | MPI_Add_error_string (int errorcode, const char *string) |
int | MPI_Get_version (int *version, int *subversion) |
Returns the version. More... | |
int | MPI_Get_library_version (char *version, int *resultlen) |
Returns the version of madmpi. More... | |
int | MPI_Pcontrol (const int level,...) |
int | MPI_Errhandler_create (MPI_Handler_function *function, MPI_Errhandler *errhandler) |
int | MPI_Errhandler_set (MPI_Comm comm, MPI_Errhandler errhandler) |
int | MPI_Errhandler_get (MPI_Comm comm, MPI_Errhandler *errhandler) |
int | MPI_Errhandler_free (MPI_Errhandler *errhandler) |
int | MPI_Comm_create_errhandler (MPI_Comm_errhandler_function *function, MPI_Errhandler *errhandler) |
int | MPI_Comm_set_errhandler (MPI_Comm comm, MPI_Errhandler errhandler) |
int | MPI_Comm_get_errhandler (MPI_Comm comm, MPI_Errhandler *errhandler) |
int | MPI_Comm_call_errhandler (MPI_Comm comm, int errorcode) |
int | MPI_Get_address (void *location, MPI_Aint *address) |
Returns the byte address of location. More... | |
int | MPI_Address (void *location, MPI_Aint *address) |
Returns the byte address of location. More... | |
int | MPI_Alloc_mem (MPI_Aint size, MPI_Info info, void *baseptr) |
Allocate memory for message passing. More... | |
int | MPI_Free_mem (void *base) |
Free memory allocated with MPI_Alloc_mem. More... | |
declarations for MPI environmental management
Definition in file nm_mpi_config.h.
#define MPI_SUBVERSION 0 |
Definition at line 28 of file nm_mpi_config.h.
#define MPI_VERSION 4 |
Definition at line 27 of file nm_mpi_config.h.
int MPI_Abort | ( | MPI_Comm | comm, |
int | errorcode | ||
) |
This routine makes a `‘best attempt’' to abort all tasks in the group of comm.
comm | communicator of tasks to abort |
errorcode | error code to return to invoking environment |
int MPI_Add_error_class | ( | int * | errorclass | ) |
int MPI_Add_error_code | ( | int | errorclass, |
int * | errorcode | ||
) |
int MPI_Add_error_string | ( | int | errorcode, |
const char * | string | ||
) |
int MPI_Address | ( | void * | location, |
MPI_Aint * | address | ||
) |
Returns the byte address of location.
location | location in caller memory |
address | address of location |
Allocate memory for message passing.
int MPI_Comm_call_errhandler | ( | MPI_Comm | comm, |
int | errorcode | ||
) |
int MPI_Comm_create_errhandler | ( | MPI_Comm_errhandler_function * | function, |
MPI_Errhandler * | errhandler | ||
) |
int MPI_Comm_get_errhandler | ( | MPI_Comm | comm, |
MPI_Errhandler * | errhandler | ||
) |
int MPI_Comm_set_errhandler | ( | MPI_Comm | comm, |
MPI_Errhandler | errhandler | ||
) |
int MPI_Errhandler_create | ( | MPI_Handler_function * | function, |
MPI_Errhandler * | errhandler | ||
) |
int MPI_Errhandler_free | ( | MPI_Errhandler * | errhandler | ) |
int MPI_Errhandler_get | ( | MPI_Comm | comm, |
MPI_Errhandler * | errhandler | ||
) |
int MPI_Errhandler_set | ( | MPI_Comm | comm, |
MPI_Errhandler | errhandler | ||
) |
int MPI_Error_class | ( | int | errorcode, |
int * | errorclass | ||
) |
int MPI_Error_string | ( | int | errorcode, |
char * | string, | ||
int * | resultlen | ||
) |
Returns the error string associated with an error code or class.
The argument string must represent storage that is at least MPI_MAX_ERROR_STRING characters long.
errorcode | error code returned by an MPI routine |
string | text that corresponds to the errorcode |
resultlen | length (in printable characters) of the result returned in string |
int MPI_Finalize | ( | void | ) |
This routine must be called by each process before it exits.
The call cleans up all MPI state.
int MPI_Finalized | ( | int * | flag | ) |
Indicates whether MPI_Finalize has been called.
flag | a pointer to an int set to 1 if MPI_Finalize has been called, 0 otherwise. |
int MPI_Free_mem | ( | void * | base | ) |
Free memory allocated with MPI_Alloc_mem.
int MPI_Get_address | ( | void * | location, |
MPI_Aint * | address | ||
) |
Returns the byte address of location.
location | location in caller memory |
address | address of location |
int MPI_Get_library_version | ( | char * | version, |
int * | resultlen | ||
) |
Returns the version of madmpi.
version | madmpi version string |
resultlen | resultlen size of version string |
int MPI_Get_processor_name | ( | char * | name, |
int * | resultlen | ||
) |
This routine returns the name of the processor on which it was called at the moment of the call.
name | unique specifier for the actual (as opposed to virtual) node |
resultlen | length (in printable characters) of the result returned in name |
int MPI_Get_version | ( | int * | version, |
int * | subversion | ||
) |
Returns the version.
version | version number |
subversion | subversion number |
int MPI_Init | ( | int * | argc, |
char *** | argv | ||
) |
This routine must be called before any other MPI routine.
It must be called at most once; subsequent calls are erroneous.
argc | a pointer to the process argc. |
argv | a pointer to the process argv. |
int MPI_Init_thread | ( | int * | argc, |
char *** | argv, | ||
int | required, | ||
int * | provided | ||
) |
The following function may be used to initialize MPI, and initialize the MPI thread environment, instead of MPI_Init().
argc | a pointer to the process argc. |
argv | a pointer to the process argv. |
required | level of thread support (integer). |
provided | level of thread support (integer). |
int MPI_Initialized | ( | int * | flag | ) |
Indicates whether MPI_Init has been called.
flag | a pointer to an int set to 1 if MPI_Init has been called, 0 otherwise. |
int MPI_Pcontrol | ( | const int | level, |
... | |||
) |
int MPI_Query_thread | ( | int * | provided | ) |
Return the level of thread support provided by the MPI library.
double MPI_Wtick | ( | void | ) |
Returns the resolution of MPI_Wtime() in seconds.
double MPI_Wtime | ( | void | ) |
Returns a floating-point number of seconds, representing elapsed wall-clock time since some time in the past.