SHMEM_PE_ACCESSIBLE(3)
β¨ shmem_pe_accessible(3) β¨
okay so bestie, this one's an Open MPI moment π and it's literally all about one tiny question: can I even talk to that PE or not? π«Ά
πΈ NAME πΈ
shmem_pe_accessible β lowkey the vibe check for whether a processing element (PE) is accessible via SHMEM data transfer operations π₯
π SYNOPSIS π
C bestie, you're up first:
#include <mpp/shmem.h>
int shmem_pe_accessible(int pe)
Fortran bestie, this one's for you:
INCLUDE "mpp/shmem.fh"
LOGICAL LOG, SHMEM_PE_ACCESSIBLE
INTEGER pe
LOG = SHMEM_PE_ACCESSIBLE(pe)
π¦ DESCRIPTION π¦
so shmem_pe_accessible returns a value that tells you whether the calling PE is able to perform OpenSHMEM communication operations with the remote PE β¨ like, that's it, that's the whole function, and honestly? iconic π
β RETURN VALUES β
- C/C++ β the return value is
1if the specified PE is a valid remote PE for SHMEM functions; otherwise, it is0π (yes, "otherwise,it" is how the original wrote it, no cap π) - Fortran β the return value is
.TRUE.if the specified PE is a valid remote PE for SHMEM functions; otherwise, it is.FALSE.π (and yes,.FALSE..with the double dot, that's literally what it says π)
π SEE ALSO: π
go read those next bestie, they're giving main character energy too π
π COPYRIGHT π
2003-2026, The Open MPI Community
and that's the whole page, periodt π
the Open MPI girlies dated this one May 14, 2026 and it's filed under SHMEM_PE_ACCESSIBLE(3) β mwah, go slay your SHMEM comms bestie π§π
π¦ 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