SHMEM_CHAR_G(3)

✨ SHMEM_CHAR_G(3) ✨

okay bestie, welcome to the Open MPI manual page for the _g girlies πŸ’… These are the low-latency get routines, and they are literally here to read basic types from symmetric data objects on remote PEs. no cap.

πŸ’… 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) β€” these routines provide a low latency mechanism to read basic types (char, short, int, float, double, long, long long, long double) from symmetric data objects 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)

🌸 DESCRIPTION 🌸

These routines give you a very low latency get capability for single elements of most basic types. it’s giving β€œsingle-element get, iconic behavior” ✨

The arguments are as follows:

  • addr β€” the remotely accessible array element or scalar data object which will receive the data on the remote PE. πŸ’–
  • pe β€” the number of the remote PE. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

2003-2026, The Open MPI Community

xoxo, your Open MPI bestie πŸ’– β€” dated May 14, 2026 ✨

πŸ“¦ where this page comes from