DOKK / manpages / debian 12 / openmpi-doc / shmem_pe_accessible.openmpi.3.en
SHMEM_PE_ACCESSIBLE(3) Open MPI SHMEM_PE_ACCESSIBLE(3)

shmem_pe_accessible - Determines whether a processing element (PE) is accessible via SHMEM data transfer operations.

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)

shmem_pe_accessible returns a value that indicates whether the calling PE is able to perform OpenSHMEM communication operations with the remote PE.

The return value is 1 if the specified PE is a valid remote PE for SHMEM functions; otherwise,it is 0.
The return value is .TRUE. if the specified PE is a valid remote PE for SHMEM functions; otherwise, it is .FALSE..

intro_shmem(3), shmem_addr_accessible(3)

May 26, 2022 4.1.4