1
1
openmpi/src/mpi/c/start.c
Tim Woodall c1ee4fec23 - initial integration with datatypes
- p2p mpi i/f functions
- adding doxygen comments

This commit was SVN r976.
2004-03-26 14:15:20 +00:00

33 строки
643 B
C

/*
* $HEADERS$
*/
#include "lam_config.h"
#include <stdio.h>
#include "mpi.h"
#include "runtime/runtime.h"
#include "mpi/c/bindings.h"
#include "mca/pml/pml.h"
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
#pragma weak MPI_Start = PMPI_Start
#endif
int MPI_Start(MPI_Request *request)
{
if ( MPI_PARAM_CHECK ) {
int rc = MPI_SUCCESS;
if (lam_mpi_finalized) {
rc = MPI_ERR_INTERN;
} else if (request == NULL || *request == NULL) {
rc = MPI_ERR_REQUEST;
}
if (rc != MPI_SUCCESS) {
return rc;
}
}
return mca_pml.pml_start(1, request);
}