SHMEM_FENCE(3) Open MPI SHMEM_FENCE(3)
NAME
shmem_fence - Provides a separate ordering on the sequence of puts is-
sued by this PE to each destination PE.
SYNOPSIS
C or C++:
#include <mpp/shmem.h>
void shmem_fence(void);
Fortran:
INCLUDE "mpp/shmem.fh"
CALL SHMEM_FENCE
DESCRIPTION
The shmem_fence() routine provides an ordering on the put operations
issued by the calling PE prior to the call to shmem_fence() relative to
the put operations issued by the calling PE following the call to
shmem_fence(). It guarantees that all such prior put operations issued
to a particular destination PE are fully written to the symmetric mem-
ory of that destination PE, before any such following put operations to
that same destination PE are written to the symmetric memory of that
destination PE. Note that the ordering is provided separately on the
sequences of puts from the calling PE to each distinct destination PE.
The shmem_quiet() routine should be used instead if ordering of puts is
required when multiple destination PEs are involved.
NOTES
The shmem_quiet function should be called if ordering of puts is de-
sired when multiple remote PEs are involved.
SEE ALSO
intro_shmem(3)
4.1.2 Nov 24, 2021 SHMEM_FENCE(3)
Generated by dwww version 1.14 on Wed Nov 19 23:03:28 CET 2025.