SHMEM_SHORT_G(3)
π 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)
π Copyright π
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
- 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