plucky (3) shmem_fence.openmpi.3.gz

Provided by: openmpi-doc_5.0.7-1_all bug

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 memory 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 desired when  multiple  remote  PEs  are
       involved.

       SEE ALSO:
          intro_shmem(3)

       2003-2025, The Open MPI Community

                                                  Feb 17, 2025                                    SHMEM_FENCE(3)