2004-01-20 09:12:28 +03:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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-20 09:12:28 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_Attr_delete = PMPI_Attr_delete
|
|
|
|
#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_Attr_delete(MPI_Comm comm, int keyval)
|
|
|
|
{
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
if (MPI_COMM_NULL == comm)
|
|
|
|
return MPI_ERR_COMM;
|
|
|
|
|
|
|
|
ret = lam_attr_delete(COMM_ATTR, comm, keyval, 0);
|
|
|
|
|
|
|
|
/* Error hanndling code here */
|
|
|
|
|
|
|
|
return ret;
|
2004-01-20 09:12:28 +03:00
|
|
|
}
|
|
|
|
|