shmem_my_pe(3)

shmem_my_pe, shmem_n_pes - Returns processing element (PE) information

As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.

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 ALSO
     intro_shmem(3)

     Message Passing Toolkit: MPI Programmer's Manual