48 строки
1.9 KiB
C
48 строки
1.9 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_SCATTERV = mpi_scatterv_f
|
||
|
#pragma weak pmpi_scatterv = mpi_scatterv_f
|
||
|
#pragma weak pmpi_scatterv_ = mpi_scatterv_f
|
||
|
#pragma weak pmpi_scatterv__ = mpi_scatterv_f
|
||
|
#elif LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (PMPI_SCATTERV,
|
||
|
pmpi_scatterv,
|
||
|
pmpi_scatterv_,
|
||
|
pmpi_scatterv__,
|
||
|
pmpi_scatterv_f,
|
||
|
(char *sendbuf, MPI_Fint *sendcounts, MPI_Fint *displs, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcount, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr),
|
||
|
(sendbuf, sendcounts, displs, sendtype, recvbuf, recvcount, recvtype, root, comm, ierr) )
|
||
|
#endif
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS
|
||
|
#pragma weak MPI_SCATTERV = mpi_scatterv_f
|
||
|
#pragma weak mpi_scatterv = mpi_scatterv_f
|
||
|
#pragma weak mpi_scatterv_ = mpi_scatterv_f
|
||
|
#pragma weak mpi_scatterv__ = mpi_scatterv_f
|
||
|
#endif
|
||
|
|
||
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (MPI_SCATTERV,
|
||
|
mpi_scatterv,
|
||
|
mpi_scatterv_,
|
||
|
mpi_scatterv__,
|
||
|
mpi_scatterv_f,
|
||
|
(char *sendbuf, MPI_Fint *sendcounts, MPI_Fint *displs, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcount, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr),
|
||
|
(sendbuf, sendcounts, displs, sendtype, recvbuf, recvcount, recvtype, root, comm, ierr) )
|
||
|
#endif
|
||
|
|
||
|
void mpi_scatterv_f(char *sendbuf, MPI_Fint *sendcounts, MPI_Fint *displs, MPI_Fint *sendtype, char *recvbuf, MPI_Fint *recvcount, MPI_Fint *recvtype, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *ierr)
|
||
|
{
|
||
|
|
||
|
}
|