48 строки
1.7 KiB
C
48 строки
1.7 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_FILE_READ_ALL = mpi_file_read_all_f
|
||
|
#pragma weak pmpi_file_read_all = mpi_file_read_all_f
|
||
|
#pragma weak pmpi_file_read_all_ = mpi_file_read_all_f
|
||
|
#pragma weak pmpi_file_read_all__ = mpi_file_read_all_f
|
||
|
#elif LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (PMPI_FILE_READ_ALL,
|
||
|
pmpi_file_read_all,
|
||
|
pmpi_file_read_all_,
|
||
|
pmpi_file_read_all__,
|
||
|
pmpi_file_read_all_f,
|
||
|
(MPI_Fint *fh, char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *status, MPI_Fint *ierr),
|
||
|
(fh, buf, count, datatype, status, ierr) )
|
||
|
#endif
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS
|
||
|
#pragma weak MPI_FILE_READ_ALL = mpi_file_read_all_f
|
||
|
#pragma weak mpi_file_read_all = mpi_file_read_all_f
|
||
|
#pragma weak mpi_file_read_all_ = mpi_file_read_all_f
|
||
|
#pragma weak mpi_file_read_all__ = mpi_file_read_all_f
|
||
|
#endif
|
||
|
|
||
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (MPI_FILE_READ_ALL,
|
||
|
mpi_file_read_all,
|
||
|
mpi_file_read_all_,
|
||
|
mpi_file_read_all__,
|
||
|
mpi_file_read_all_f,
|
||
|
(MPI_Fint *fh, char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *status, MPI_Fint *ierr),
|
||
|
(fh, buf, count, datatype, status, ierr) )
|
||
|
#endif
|
||
|
|
||
|
void mpi_file_read_all_f(MPI_Fint *fh, char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *status, MPI_Fint *ierr)
|
||
|
{
|
||
|
|
||
|
}
|