2004-01-21 03:05:46 +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-21 03:05:46 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_Comm_free_keyval = PMPI_Comm_free_keyval
|
|
|
|
#endif
|
|
|
|
|
2004-04-20 22:50:43 +04:00
|
|
|
#if LAM_PROFILING_DEFINES
|
|
|
|
#include "mpi/c/profile/defines.h"
|
|
|
|
#endif
|
|
|
|
|
2004-04-06 08:39:09 +04:00
|
|
|
int MPI_Comm_free_keyval(int *comm_keyval)
|
|
|
|
{
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
/* Check for valid key pointer */
|
|
|
|
|
|
|
|
if (NULL == comm_keyval)
|
|
|
|
return MPI_ERR_ARG;
|
|
|
|
|
|
|
|
ret = lam_attr_free_keyval(COMM_ATTR, comm_keyval, 0);
|
|
|
|
|
|
|
|
return ret;
|
2004-01-21 03:05:46 +03:00
|
|
|
}
|