SHMEM_LONGLONG_SET(3)
π SHMEM_LONGLONG_SET β Open MPI
okay bestie, gather round, because this is the manual page for SHMEM_LONGLONG_SET(3) in Open MPI and it's literally the friend group of set routines: shmem_double_set(3), shmem_float_set(3), shmem_int_set(3), shmem_long_set(3), shmem_longlong_set(3), shmem_int4_set(3), shmem_int8_set(3), shmem_real4_set(3), shmem_real8_set(3) β and what do they all do? π They atomically set the value of a remote data object. periodt. π
β¨ NAME β¨
shmem_double_set(3), shmem_float_set(3), shmem_int_set(3), shmem_long_set(3), shmem_longlong_set(3), shmem_int4_set(3), shmem_int8_set(3), shmem_real4_set(3), shmem_real8_set(3) β Atomically sets the value of a remote data object π¦
it's giving "one job, and they ate". π
πΈ SYNOPSIS πΈ
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)
no cap, that's the whole vibe check. π
π DESCRIPTION π
so here's the tea π β the set routines write the value into the address target on pe as an atomic operation. that's it. that's the whole personality. no half-finished writes, no drama, just slay. β¨
the arguments are as follows:
targetβ the remotely accessible data object to be set on the remote PE. like, this is the thing getting updated bestie π«Άvalueβ the value to be atomically written to the remote PE. πpeβ an integer that indicates the PE number upon whichtargetis to be updated. if you're using Fortran, it must be a default integer value, okay? don't be trying anything cute with it. π
ngl, "atomically" is the main character here. the write either fully happens or it fully doesn't. no crumbs, no in-between. π
β RETURN VALUES β
NONE π
like it just... does the thing and leaves. iconic behaviour honestly.
See also:
and that's a wrap on the set girlies ππ
Copyright β 2003-2026, The Open MPI Community
this lil page was born Sep 10, 2026, written up by the Open MPI girlies, and the copyright has been held down by 2003-2026, The Open MPI Community the entire time. thanks for coming to my TED talk, ily, go set some remote values atomically ππ§
π¦ where this page comes from
- ubuntu stonking: openmpi-doc 5.0.10-6 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms