c3c63b57c4
thingy needs to go on the *declaration*, not the *definition*. Well, at least this was all done en masse and via an automated mechanism, so total time wasted was only about 15 minutes... This commit was SVN r2858.
36 строки
765 B
C
36 строки
765 B
C
/*
|
|
* $HEADERS$
|
|
*/
|
|
#include "ompi_config.h"
|
|
#include <stdio.h>
|
|
|
|
#include "mpi.h"
|
|
#include "mpi/c/bindings.h"
|
|
#include "communicator/communicator.h"
|
|
#include "errhandler/errhandler.h"
|
|
|
|
#if OMPI_HAVE_WEAK_SYMBOLS && OMPI_PROFILING_DEFINES
|
|
#pragma weak MPI_Win_f2c = PMPI_Win_f2c
|
|
#endif
|
|
|
|
#if OMPI_PROFILING_DEFINES
|
|
#include "mpi/c/profile/defines.h"
|
|
#endif
|
|
|
|
static const char FUNC_NAME[] = "MPI_Win_f2c";
|
|
|
|
|
|
MPI_Win MPI_Win_f2c(MPI_Fint win)
|
|
{
|
|
if (MPI_PARAM_CHECK) {
|
|
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
|
|
}
|
|
|
|
/* NOTE: Be sure to see the other *f2c functions before implementing
|
|
this one -- they should all be the same! */
|
|
|
|
/* This function is not yet implemented */
|
|
|
|
return (MPI_Win) OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_OTHER, FUNC_NAME);
|
|
}
|