shmem_my_pe.openmpi(3)

shmem_my_pe.openmpi3

Usage

C or C++:

#include <mpp/shmem.h>
int shmem_my_pe (void)
int my_pe (void)

Fortran:

include 'mpp/shmem.fh'
I = SHMEM_MY_PE ()
I = MY_PE ()

shmem_my_pe, my_pe, _my_pe - Returns the virtual PE number of the calling PE.

Overview

my_pe() or shmem_my_pe() return the processing element (PE) number of the calling PE. It accepts no arguments. The result is an integer between 0 and npes - 1, where npes is the total number of PEs executing the current program.

SEE ALSO:

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From openmpi-doc 5.0.7-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.