1
1
openmpi/src/mpi/f77/file_read_all_f.c
Jeff Squyres 949bf3f51d Fix fortran bindings on systems with weak symbols
This commit was SVN r1773.
2004-07-17 20:10:03 +00:00

53 строки
1.8 KiB
C

/*
* $HEADER$
*/
#include "ompi_config.h"
#include <stdio.h>
#include "mpi.h"
#include "mpi/f77/bindings.h"
#if OMPI_HAVE_WEAK_SYMBOLS && OMPI_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 OMPI_PROFILE_LAYER
OMPI_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 OMPI_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 ! OMPI_HAVE_WEAK_SYMBOLS && ! OMPI_PROFILE_LAYER
OMPI_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
#if OMPI_PROFILE_LAYER && ! OMPI_HAVE_WEAK_SYMBOLS
#include "mpi/f77/profile/defines.h"
#endif
void mpi_file_read_all_f(MPI_Fint *fh, char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *status, MPI_Fint *ierr)
{
}