2004-01-21 03:05:46 +03:00
|
|
|
/*
|
|
|
|
* $HEADERS$
|
|
|
|
*/
|
|
|
|
#include "lam_config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "mpi.h"
|
|
|
|
#include "mpi/interface/c/bindings.h"
|
2004-03-12 01:02:01 +03:00
|
|
|
#include "mpi/communicator/communicator.h"
|
2004-01-21 03:05:46 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_Comm_size = PMPI_Comm_size
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int MPI_Comm_size(MPI_Comm comm, int *size) {
|
2004-03-12 01:02:01 +03:00
|
|
|
*size = lam_comm_size(comm);
|
2004-01-21 03:05:46 +03:00
|
|
|
return MPI_SUCCESS;
|
|
|
|
}
|