File: shmem_pe_accessible.3.rst

package info (click to toggle)
openmpi 5.0.8-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 201,692 kB
  • sloc: ansic: 613,078; makefile: 42,351; sh: 11,194; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,179; python: 1,859; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (57 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.. _shmem_pe_accessible:


shmem_pe_accessible
===================

.. include_body

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


SYNOPSIS
--------

C:

.. code-block:: c

   #include <mpp/shmem.h>

   int shmem_pe_accessible(int pe)

Fortran:

.. code-block:: fortran

   INCLUDE "mpp/shmem.fh"

   LOGICAL LOG, SHMEM_PE_ACCESSIBLE
   INTEGER pe

   LOG = SHMEM_PE_ACCESSIBLE(pe)


DESCRIPTION
-----------

:ref:`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
-------------

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


.. seealso::
   *intro_shmem*\ (3) *shmem_addr_accessible*\ (3)