MPI Initialization<< | Table of Contents | >>
int MPI_Init( int *argc, char **argv[] ) Initializes the MPI environment. This routine must be the first MPI function called by each process in the virtual computer.
int MPI_Finalize() Terminates the MPI environment and should be called by at the end of the program by every process in the virtual computer. int MPI_Comm_rank( MPI_Comm comm, int *pid ) Used by a process to determine its rank or process id number within a communicator.
int MPI_Comm_size( MPI_Comm comm, int *size ) Used by a process to determine the total number of processes associated with a given communicator.
double MPI_Wtime() Returnes the elapsed time, in seconds, from some point in the past.
|