2004-01-26 01:07:54 +03:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "lam_config.h"
|
|
|
|
|
|
|
|
#include "mpi.h"
|
|
|
|
#include "mpi/interface/c/bindings.h"
|
2004-02-02 01:28:20 +03:00
|
|
|
#include "lam/lfc/list.h"
|
|
|
|
#include "mpi/info/info.h"
|
2004-01-26 01:07:54 +03:00
|
|
|
|
|
|
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
|
|
|
#pragma weak MPI_Info_free = PMPI_Info_free
|
|
|
|
#endif
|
|
|
|
|
2004-02-02 01:28:20 +03:00
|
|
|
/**
|
|
|
|
* MPI_Info_free - Free an 'MPI_Info' object.
|
|
|
|
*
|
|
|
|
* @param info pointer to info object to be freed (handle)
|
|
|
|
*
|
|
|
|
* @retval MPI_SUCCESS
|
|
|
|
* @retval MPI_ERR_ARG
|
|
|
|
*
|
|
|
|
* Upon successful completion, 'info' will be set to 'MPI_INFO_NULL'.
|
|
|
|
*/
|
2004-01-26 01:07:54 +03:00
|
|
|
int MPI_Info_free(MPI_Info *info) {
|
2004-02-02 01:28:20 +03:00
|
|
|
/*
|
|
|
|
* Free all the alloced items from MPI_Info info.
|
|
|
|
* Make sure the items are freed in an orderly
|
|
|
|
* fashion so that there are no dangling pointers.
|
|
|
|
* Also, something needs to be done about the
|
|
|
|
* fortran handle.
|
|
|
|
*/
|
2004-01-26 01:07:54 +03:00
|
|
|
return MPI_SUCCESS;
|
|
|
|
}
|