MPI_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 ALSO
MPI_Alloc_mem(1)
Man(1) output converted with
man2html