18.2.177. shmem_pe_accessible — Open MPI 5.0.8 documentation

# 18.2.177. shmem_pe_accessible

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

## 18.2.177.1. 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)

## 18.2.177.2. DESCRIPTION

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

## 18.2.177.3. 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)