48 строки
1.8 KiB
C
48 строки
1.8 KiB
C
|
/*
|
||
|
* $HEADER$
|
||
|
*/
|
||
|
|
||
|
#include "lam_config.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "mpi.h"
|
||
|
#include "mpi/f77/bindings.h"
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILE_LAYER
|
||
|
#pragma weak PMPI_GATHERV = mpi_gatherv_f
|
||
|
#pragma weak pmpi_gatherv = mpi_gatherv_f
|
||
|
#pragma weak pmpi_gatherv_ = mpi_gatherv_f
|
||
|
#pragma weak pmpi_gatherv__ = mpi_gatherv_f
|
||
|
#elif LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (PMPI_GATHERV,
|
||
|
pmpi_gatherv,
|
||
|
pmpi_gatherv_,
|
||
|
pmpi_gatherv__,
|
||
|
pmpi_gatherv_f,
|
||
|
(char *sendbuf, MPI_Fint *sendcount, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcounts, MPI_Fint *displs, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr),
|
||
|
(sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, root, comm, ierr) )
|
||
|
#endif
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS
|
||
|
#pragma weak MPI_GATHERV = mpi_gatherv_f
|
||
|
#pragma weak mpi_gatherv = mpi_gatherv_f
|
||
|
#pragma weak mpi_gatherv_ = mpi_gatherv_f
|
||
|
#pragma weak mpi_gatherv__ = mpi_gatherv_f
|
||
|
#endif
|
||
|
|
||
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (MPI_GATHERV,
|
||
|
mpi_gatherv,
|
||
|
mpi_gatherv_,
|
||
|
mpi_gatherv__,
|
||
|
mpi_gatherv_f,
|
||
|
(char *sendbuf, MPI_Fint *sendcount, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcounts, MPI_Fint *displs, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr),
|
||
|
(sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, root, comm, ierr) )
|
||
|
#endif
|
||
|
|
||
|
void mpi_gatherv_f(char *sendbuf, MPI_Fint *sendcount, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcounts, MPI_Fint *displs, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr)
|
||
|
{
|
||
|
|
||
|
}
|