2004-01-29 21:21:55 +03:00
|
|
|
/*
|
|
|
|
* $HEADERS$
|
|
|
|
*/
|
|
|
|
#include "lam_config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "mpi.h"
|
2004-03-17 21:45:16 +03:00
|
|
|
#include "mpi/c/bindings.h"
|
2004-04-06 08:39:09 +04:00
|
|
|
#include "attribute/attribute.h"
|
2004-01-29 21:21:55 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_free_keyval = PMPI_free_keyval
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int MPI_Win_free_keyval(int *win_keyval) {
|
2004-04-06 08:39:09 +04:00
|
|
|
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
/* Check for valid key pointer */
|
|
|
|
|
|
|
|
if (NULL == win_keyval)
|
|
|
|
return MPI_ERR_ARG;
|
|
|
|
|
|
|
|
ret = lam_attr_free_keyval(WIN_ATTR, win_keyval, 0);
|
|
|
|
|
|
|
|
return ret;
|
2004-01-29 21:21:55 +03:00
|
|
|
}
|