MY_PE(3I)MY_PE(3I)NAME
_my_pe, MY_PE - Returns the processing element (PE) number of the
calling PE
SYNOPSIS
C/C++:
#include <mpp/shmem.h>
int _my_pe (void);
Fortran:
I= MY_PE ()
DESCRIPTION
This function returns 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 ALSOintro_shmem(3), num_pes(3I), start_pes(3)
Message Passing Toolkit: MPI Programmer's Manual