2004-01-25 04:51:49 +03:00
|
|
|
/*
|
|
|
|
* $HEADERS$
|
|
|
|
*/
|
|
|
|
#include "lam_config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "mpi.h"
|
|
|
|
#include "mpi/interface/c/bindings.h"
|
2004-02-13 19:41:53 +03:00
|
|
|
#include "mpi/group/group.h"
|
2004-01-25 04:51:49 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_Group_rank = PMPI_Group_rank
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int MPI_Group_rank(MPI_Group group, int *rank) {
|
2004-02-13 19:41:53 +03:00
|
|
|
*rank=lam_group_rank((lam_group_t *)group);
|
2004-01-25 04:51:49 +03:00
|
|
|
return MPI_SUCCESS;
|
|
|
|
}
|