Open MPI logo

_num_pes(3) man page (version 3.1.6)

  |   Home   |   Support   |   FAQ   |  

« Return to documentation listing

Table of Contents

Name

num_pes, _num_pes, shmem_n_pes - Returns the number of processing elements (PEs) used to run the application.

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 ()

Description

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

See Also

intro_shmem(3), shmem_my_pe(3), shmem_init(3)


Table of Contents

« Return to documentation listing