SHMEM_SHORT_G(3)

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

πŸ’– NAME πŸ’–

shmem_char_g(3), shmem_float_g(3), shmem_int_g(3), shmem_long_g(3), shmem_short_g(3), shmem_longlong_g(3), shmem_longdouble_g(3) β€” bestie, these routines are your low latency plug for reading basic types (char, short, int, float, double, long, long long, long double) straight out of symmetric data objects living on remote PEs. ✨

And yes, this page ships under the Open MPI manual, so that's the name of the game. 🫢


🌸 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)

πŸ’… DESCRIPTION πŸ’…

okay so picture this: these routines hand you a very low latency get capability for single elements of basically every basic type. One element. One grab. No drama. πŸ’…

The arguments are, and I quote, as follows:

  • addr β€” the remotely accessible array element or scalar data object that will receive the data on the remote PE. Yes bestie, it's the remote one holding the goods. πŸŽ€
  • pe β€” the number of the remote PE. Just a number. That's it. That's the whole vibe. 🌈

See also:

  • intro_shmem(3)
  • shmem_get(3)

2003-2026, The Open MPI Community

and that's the whole page, bestie β€” shmem_short_g(3) from the Open MPI crew, dated Sep 10, 2026, copyright 2003-2026, The Open MPI Community. lowkey iconic, fr fr. go read your remote PEs and slay πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from