shmem_double_set(3), shmem_float_set(3),
- Provided by: openmpi-doc (Version: 4.1.6-7ubuntu2)
- Source: openmpi
- Report a bug
C or C++:
#include <mpp/shmem.h> void shmem_double_set(double *target, double value, int pe); void shmem_float_set(float *target, float value, int pe); void shmem_int_set(int *target, int value, int pe); void shmem_long_set(long *target, long value, int pe); void shmem_longlong_set(long long *target, long long value, int pe);
Fortran:
INCLUDE "mpp/shmem.fh" INTEGER pe CALL SHMEM_INT4_SET(target, value, pe) CALL SHMEM_INT8_SET(target, value, pe) CALL SHMEM_REAL4_SET(target, value, pe) CALL SHMEM_REAL8_SET(target, value, pe)
The set routines write the value into the address target on pe as an atomic operation.
The arguments are as follows:
NONE