SHMEM_FENCE(3)
π SHMEM_FENCE(3) β Open MPI manual page, bestie π
okay so bestie, this is the SHMEM_FENCE(3) page straight outta Open MPI, and it's all about fencing your puts. not like a garden fence, like an ordering fence, iykyk. let's go π
πΈ NAME πΈ
shmem_fence β provides a separate ordering on the sequence of puts issued 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 π
okay so the shmem_fence() routine gives you an ordering on the put operations issued by the calling PE before the call to shmem_fence() relative to the put operations issued by the calling PE after 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. literally the whole point, no cap. β¨
Note that the ordering is provided separately on the sequences of puts from the calling PE to each distinct destination PE. it's giving separate ordering for each distinct destination PE. π
The shmem_quiet() routine should be used instead if ordering of puts is required when multiple destination PEs are involved. periodt. π
π NOTES π
The shmem_quiet function should be called if ordering of puts is desired when multiple remote PEs are involved. π«Ά
π¦ SEE ALSO π¦
π COPYRIGHT π
2003-2026, The Open MPI Community
and that's the whole page, bestie π β source/version: Open MPI, dated May 14, 2026. mwah π
π¦ where this page comes from
- arch rolling: nvhpc-comm-libs 26.9-1 Β· LicenseRef-NVIDIA-HPC-SDK
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms