shmem_n_pes.openmpi(3)

shmem_n_pes.openmpi3

Usage

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

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

Overview

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

SEE ALSO:

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From openmpi-doc 5.0.7-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.