## shmem_fence

#### Purpose

Assures ordered delivery of puts.

#### C syntax

    #include <shmem.h>

    void shmem_fence(void);

#### Description

This function ensures ordering of remote write operations

All remote write operations issued to a particular remote processing element (PE) prior to the call to shmem_fence are guaranteed to be delivered before any subsequent remote write operations to the same PE which follows the call to shmem_fence.

The shmem_quiet function should be called if ordering of remote writes is desired when multiple remote PEs are involved.

#### IBM NOTES

IBM's current implementation of this function is the same as shmem_quiet. The ability of per destination fence will be added later

#### C examples

#### Related information

Subroutines: shmem_put

OpenSHMEM API Index