SHMEM_LONGDOUBLE_G(3)
π SHMEM_LONGDOUBLE_G(3) π
okay bestie, welcome to the Open MPI man pages, section 3. this one's a whole squad of tiny little getters and honestly? they're iconic. π
β¨ NAME β¨
no cap, this page covers a whole friend group:
shmem_char_g<#shmem-char-g>(3)shmem_float_g<#shmem-float-g>(3)shmem_int_g<#shmem-int-g>(3)shmem_long_g<#shmem-long-g>(3)shmem_short_g<#shmem-short-g>(3)shmem_longlong_g<#shmem-longlong-g>(3)shmem_longdouble_g(3)
and what do they all do?? they're a low latency mechanism to read basic types β that's char, short, int, float, double, long, long long, and long double β from symmetric data objects that live on remote PEs. periodt. β¨
π SYNOPSIS π
C or C++:
#include <mpp/shmem.h>
char shmem_char_g(const char *addr, int pe)
short shmem_short_g(const short *addr, int pe)
int shmem_int_g(const int *addr, int pe)
long shmem_long_g(const long *addr, int pe)
long shmem_longlong_g(const long long *addr, int pe)
float shmem_float_g(const float *addr, int pe)
double shmem_double_g(const double *addr, int pe)
long shmem_longdouble_g(const long double *addr, int pe)
yes you read that right,shmem_longdouble_greturns along. that's just what it is. we don't question the lore. π
π¦ DESCRIPTION π¦
so like... these routines give you a very low latency get capability for single elements of most basic types. it's giving "one tiny value, zero drama, absolute speed". β‘
π The Arguments π
addrβ the remotely accessible array element or scalar data object that will receive the data on the remote PE. bestie, read that again: it's the thing catching the data on the other side, not the thing you're grabbing from. πpeβ the number of the remote PE. that's it, that's the whole job. π
πΈ See also: πΈ
intro_shmem(3)shmem_get(3)
π Copyright π
2003-2026, The Open MPI Community
and that's the whole page, bestie π«Ά this little beauty is from the Open MPI collection, dated Sep 10, 2026, and it goes out to my girl SHMEM_LONGDOUBLE_G(3) β go get those remote elements, you ate. πβ¨ππ¦
π¦ 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