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.

# [SYNOPSIS](#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](#DESCRIPTION)

shmem\_pe\_accessible returns a value that indicates whether the calling PE is able to perform OpenSHMEM communication operations with the remote PE.

# [RETURN VALUES](#RETURN_VALUES)

[**C/C++**](#C/C++)

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

[**Fortran**](#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)](/man/enterprise-packages/openmpi-cuda-13.4/intro_shmem.3) [*shmem\_addr\_accessible*(3)](/man/enterprise-packages/openmpi-cuda-13.4/shmem_addr_accessible.3)

# [Copyright](#Copyright)

2003-2026, The Open MPI Community

October 11, 2026

---

Document: shmem_pe_accessible(3) from openmpi-cuda-13.4 5.0.11-r1 (Chainguard OS)
