dwww Home | Manual pages | Find package

SHMEM_ADDR_ACCESSIBLE(3)           Open MPI           SHMEM_ADDR_ACCESSIBLE(3)

NAME
       shmem_addr_accessible - Indicates if an address is accessible via Open-
       SHMEM operations from the specified remote PE.

SYNOPSIS
       C or C++:
       #include <mpp/shmem.h>

       int shmem_addr_accessible(const void *addr, int pe);

       Fortran:
       INCLUDE "mpp/shmem.fh"

       LOGICAL LOG, SHMEM_ADDR_ACCESSIBLE
       INTEGER pe

       LOG = SHMEM_ADDR_ACCESSIBLE(addr, pe)

DESCRIPTION
       shmem_addr_accessible is a query function that indicates whether a  lo-
       cal  address  is accessible via SHMEM operations from the specified re-
       mote PE.

       This function verifies that the remote PE is accessible via SHMEM  data
       transfer functions from the local PE, and that the specified address is
       in a symmetric data segment with respect to the remote PE.

RETURN VALUES
       C: The return value is 1 if addr is a symmetric data object and  acces-
       sible  via SHMEM operations from the specified remote PE; otherwise, it
       is 0.

       Fortran: The return value is .TRUE. if addr is a symmetric data  object
       and  accessible via SHMEM operations from the specified remote PE; oth-
       erwise, it is .FALSE..

SEE ALSO
       intro_shmem(3), shmem_pe_accessible(3)

4.1.2                            Nov 24, 2021         SHMEM_ADDR_ACCESSIBLE(3)

Generated by dwww version 1.14 on Sat Apr 19 17:35:09 CEST 2025.