SHMEM_LONGDOUBLE_G(3)

πŸ“¦
version 5.0.10 Β· 4 versions
, in ubuntu stonking

πŸ’… 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_g returns a long. 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: 🌸


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