shmem_pe_accessible(3)

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

As shipped in IRIX 6.5.19. Added in IRIX 6.5.19.

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
     shmem_pe_accessible is a query function that indicates whether a
     specified PE is accessible via SHMEM from the local PE.  This function
     is needed on IRIX systems, in which a message-passing application
     using both MPI and SHMEM might be distributed over a cluster. In these
     cases, SHMEM communication is available only for PEs residing on the
     same host as the local PE.

RETURN VALUES
     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..