logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Description

       num_pes() or shmem_n_pes() return the total number of PEs running in an application.

       SEEALSO:intro_shmem(3) shmem_my_pe(3) shmem_init(3)

Synopsis

       C or C++:

          #include <mpp/shmem.h>

          int _num_pes (void)
          int shmem_n_pes (void)

       Fortran:

          include 'mpp/shmem.fh'
          I = NUM_PES ()
          I = SHMEM_N_PES ()

See Also