2004-04-16 06:33:49 +04:00
|
|
|
/*
|
|
|
|
* $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_WTICK = mpi_wtick_f
|
|
|
|
#pragma weak pmpi_wtick = mpi_wtick_f
|
|
|
|
#pragma weak pmpi_wtick_ = mpi_wtick_f
|
|
|
|
#pragma weak pmpi_wtick__ = mpi_wtick_f
|
|
|
|
#elif LAM_PROFILE_LAYER
|
2004-04-16 07:32:33 +04:00
|
|
|
|
|
|
|
double *pmpi_wtick(void) {
|
|
|
|
return pmpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *pmpi_wtick_(void) {
|
|
|
|
return pmpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *pmpi_wtick__(void) {
|
|
|
|
return pmpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *PMPI_WTICK(void) {
|
|
|
|
return pmpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
2004-04-16 06:33:49 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS
|
|
|
|
#pragma weak MPI_WTICK = mpi_wtick_f
|
|
|
|
#pragma weak mpi_wtick = mpi_wtick_f
|
|
|
|
#pragma weak mpi_wtick_ = mpi_wtick_f
|
|
|
|
#pragma weak mpi_wtick__ = mpi_wtick_f
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
2004-04-16 07:32:33 +04:00
|
|
|
|
|
|
|
double *mpi_wtick(void) {
|
|
|
|
return mpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *mpi_wtick_(void) {
|
|
|
|
return mpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *mpi_wtick__(void) {
|
|
|
|
return mpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
|
|
|
double *MPI_WTICK(void) {
|
|
|
|
return mpi_wtick_f();
|
|
|
|
}
|
|
|
|
|
2004-04-16 06:33:49 +04:00
|
|
|
#endif
|
|
|
|
|
2004-04-16 07:32:33 +04:00
|
|
|
double *mpi_wtick_f(void)
|
2004-04-16 06:33:49 +04:00
|
|
|
{
|
2004-04-16 07:32:33 +04:00
|
|
|
return (double *)0;
|
2004-04-16 06:33:49 +04:00
|
|
|
}
|