2004-01-08 00:39:46 +03:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
2004-01-08 16:40:30 +03:00
|
|
|
|
2004-01-11 02:07:38 +03:00
|
|
|
#include "lam_config.h"
|
|
|
|
|
2004-04-16 06:33:49 +04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2004-01-11 02:07:38 +03:00
|
|
|
#include "mpi.h"
|
2004-03-17 21:45:16 +03:00
|
|
|
#include "mpi/f77/bindings.h"
|
2004-01-11 02:07:38 +03:00
|
|
|
|
2004-01-17 05:44:33 +03:00
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILE_LAYER
|
2004-01-11 02:07:38 +03:00
|
|
|
#pragma weak PMPI_COMM_GET_NAME = mpi_comm_get_name_f
|
|
|
|
#pragma weak pmpi_comm_get_name = mpi_comm_get_name_f
|
|
|
|
#pragma weak pmpi_comm_get_name_ = mpi_comm_get_name_f
|
|
|
|
#pragma weak pmpi_comm_get_name__ = mpi_comm_get_name_f
|
2004-01-17 05:44:33 +03:00
|
|
|
#elif LAM_PROFILE_LAYER
|
|
|
|
LAM_GENERATE_F77_BINDINGS (PMPI_COMM_GET_NAME,
|
2004-04-16 06:33:49 +04:00
|
|
|
pmpi_comm_get_name,
|
|
|
|
pmpi_comm_get_name_,
|
|
|
|
pmpi_comm_get_name__,
|
|
|
|
pmpi_comm_get_name_f,
|
|
|
|
(MPI_Fint *comm, char *comm_name, MPI_Fint *resultlen, MPI_Fint *ierr),
|
|
|
|
(comm, comm_name, resultlen, ierr) )
|
2004-01-11 02:07:38 +03:00
|
|
|
#endif
|
2004-01-17 05:44:33 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS
|
|
|
|
#pragma weak MPI_COMM_GET_NAME = mpi_comm_get_name_f
|
|
|
|
#pragma weak mpi_comm_get_name = mpi_comm_get_name_f
|
|
|
|
#pragma weak mpi_comm_get_name_ = mpi_comm_get_name_f
|
|
|
|
#pragma weak mpi_comm_get_name__ = mpi_comm_get_name_f
|
2004-01-11 02:07:38 +03:00
|
|
|
#endif
|
|
|
|
|
2004-04-16 06:33:49 +04:00
|
|
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
2004-01-17 05:44:33 +03:00
|
|
|
LAM_GENERATE_F77_BINDINGS (MPI_COMM_GET_NAME,
|
2004-04-16 06:33:49 +04:00
|
|
|
mpi_comm_get_name,
|
|
|
|
mpi_comm_get_name_,
|
|
|
|
mpi_comm_get_name__,
|
|
|
|
mpi_comm_get_name_f,
|
|
|
|
(MPI_Fint *comm, char *comm_name, MPI_Fint *resultlen, MPI_Fint *ierr),
|
|
|
|
(comm, comm_name, resultlen, ierr) )
|
2004-01-17 05:44:33 +03:00
|
|
|
#endif
|
2004-01-11 02:07:38 +03:00
|
|
|
|
2004-04-16 06:33:49 +04:00
|
|
|
void mpi_comm_get_name_f(MPI_Fint *comm, char *comm_name, MPI_Fint *resultlen, MPI_Fint *ierr)
|
2004-01-11 02:07:38 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|