SHMEM_LONGDOUBLE_P(3)
π SHMEM_LONGDOUBLE_P β Open MPI, bestie edition π«Ά
okay so first things first, this page lives in the Open MPI corner of your man pages, and the headline function is shmem_longdouble_p β but she brought her whole friend group β¨
β¨ NAME β¨
shmem_char_p(3), shmem_float_p(3), shmem_int_p(3), shmem_long_p(3), shmem_short_p(3), shmem_longlong_p(3), shmem_longdouble_p(3) β these routines provide a low latency mechanism to write basic types (char, short, int, float, double, long, long long, long double) to symmetric data objects on remote PEs. like, the whole squad of basic types, no cap π
πΈ SYNOPSIS πΈ
C or C++:
#include <mpp/shmem.h>
void shmem_char_p(char *addr, char value, int pe)
void shmem_short_p(short *addr, short value, int pe)
void shmem_int_p(int *addr, int value, int pe)
void shmem_long_p(long *addr, long value, int pe)
void shmem_longlong_p(long long *addr, long long value, int pe)
void shmem_float_p(float *addr, float value, int pe)
void shmem_double_p(double *addr, double value, int pe)
void shmem_longdouble_p(long double *addr, long double value, int pe)
look at them all lined up, matching outfits, iconic π
π¦ DESCRIPTION π¦
these routines are literally giving very low latency put capability for single elements of most basic types. one element, one type, straight to the remote PE β no drama, no extra steps π
the arguments are as follows:
addrβ the remotely accessible array element or scalar data object which will receive the data on the remote PE. miss thing is the destination, she's receiving π₯valueβ the value to be transferred toaddron the remote PE. this is the actual gift being handed over πpeβ the number of the remote PE. yep, just the number, that's the whole address book entry π’
β οΈ okay important bestie moment: as withshmem_put(3), these functions start the remote transfer and may return before the data is delivered to the remote PE. so like. the function saying "done" does NOT mean the data landed yet π it's giving "left on read" energy. useshmem_quiet(3)to force completion of all remote PUT transfers β that's the "hey did you actually get my message" check-in π
π SEE ALSO π
intro_shmem(3)shmem_put(3)
go read those next, i'm serious, they're the prerequisites fr fr π
π COPYRIGHT π
2003-2026, The Open MPI Community β the whole Open MPI Community ate and left no crumbs π
and that's the page!! May 14, 2026, brought to you by the Open MPI girlies, source and version included because we always cite our sources πβ¨ mwah, go write to some remote PEs π¦
π¦ where this page comes from
- arch rolling: nvhpc-comm-libs 26.9-1 Β· LicenseRef-NVIDIA-HPC-SDK
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms