SHMEM_PE_ACCESSIBLE(3)

πŸ’– SHMEM_PE_ACCESSIBLE πŸ’–

okay bestie, welcome to the Open MPI corner of the manual, where we're checking on shmem_pe_accessible β€” she's a 3rd-section library call and she's here to answer one very important question: can I even talk to that PE or not? 🫢


✨ NAME ✨

shmem_pe_accessible β€” determines whether a processing element (PE) is accessible via SHMEM data transfer operations.


🌸 SYNOPSIS 🌸

C:

#include <mpp/shmem.h>

int shmem_pe_accessible(int pe)

Fortran:

INCLUDE "mpp/shmem.fh"

LOGICAL LOG, SHMEM_PE_ACCESSIBLE
INTEGER pe

LOG = SHMEM_PE_ACCESSIBLE(pe)

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, shmem_pe_accessible returns a value that tells you whether the calling PE is able to perform OpenSHMEM communication operations with the remote PE. that's it. that's the whole vibe. is this PE reachable or nah? πŸ’…


πŸ‘‘ RETURN VALUES πŸ‘‘

C/C++ β€” the return value is 1 if the specified PE is a valid remote PE for SHMEM functions; otherwise, it is 0. πŸ”₯

Fortran β€” the return value is .TRUE. if the specified PE is a valid remote PE for SHMEM functions; otherwise, it is .FALSE.. ✨

πŸ‘€ See also:

intro_shmem(3) shmem_addr_accessible(3)


πŸŽ€ a lil sign-off πŸŽ€

this page is brought to you by the 2003-2026, The Open MPI Community β€” copyright gang, we love them, no cap. this particular glow-up landed on the timeline Sep 10, 2026. now go check your PEs, bestie, and slay responsibly πŸ’œπŸŒΈ

πŸ“¦ where this page comes from