MPI_FREE_MEM(3)MPI_FREE_MEM(3)NAMEMPI_Free_mem - Frees memory allocated by MPI_Alloc_mem
SYNOPSIS
C:
#include <mpi.h>
int MPI_Free_mem(*baseptr)
void* *baseptr;
Fortran:
INCLUDE "mpif.h" (or USE MPI)
<type> BASE(*)
INTEGER ierror
CALL MPI_FREE_MEM(base, ierror)
DESCRIPTION
The MPI_Free_mem function frees memory that has been previously allocated
by MPI_Alloc_mem. See the man page for MPI_Alloc_mem for limitations on
usage.
This routine accepts the following parameters:
baseptr Specifies the initial address of the memory segment that has
been allocated. For Fortran, the variable pointed to by the
pointer used when invoking MPI_Alloc_mem should be used, rather
than the pointer itself. See the man page for MPI_Alloc_mem
for an example of how these functions are used from Fortran.
ierror Specifies an error code of class MPI_ERR_BASE that the function
might return to indicate an invalid base argument.
SEE ALSOMPI_Alloc_mem(1)
Page 1