SHMEM_MY_PE(3)SHMEM_MY_PE(3)NAME
shmem_my_pe, shmem_n_pes - Returns processing element (PE) information
SYNOPSIS
C or C++:
int shmem_my_pe(void);
int shmem_n_pes(void);
Fortran:
INTEGER SHMEM_MY_PE, SHMEM_N_PES
MYPE = SHMEM_MY_PE()
NPES = SHMEM_N_PES()DESCRIPTION
The shmem_my_pe function returns the number of the calling PE.
The shmem_n_pes function returns the total number of PEs in the
current application.
SEE ALSOintro_shmem(3)
Message Passing Toolkit: MPI Programmer's Manual