Files
cpp-thirdparty/linx64/mpi/openmpi/share/man/man3/shmem_n_pes.3
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

40 lines
740 B
Groff

.\" -*- nroff -*-
.\" Copyright (c) 2015 University of Houston. All rights reserved.
.\" Copyright (c) 2015 Mellanox Technologies, Inc.
.\" $COPYRIGHT$
.de Vb
.ft CW
.nf
..
.de Ve
.ft R
.fi
..
.TH "SHMEM\\_N\\_PES" "3" "Aug 22, 2018" "3.1.2" "Open MPI"
.SH NAME
num_pes, _num_pes, shmem_n_pes \- Returns the number of processing elements (PEs) used to run the application.
.SH SYNOPSIS
C or C++:
.Vb
#include <mpp/shmem.h>
int _num_pes (void);
int shmem_n_pes (void);
.Ve
Fortran:
.Vb
include 'mpp/shmem.fh'
I = NUM_PES ()
I = SHMEM_N_PES ()
.Ve
.SH DESCRIPTION
num_pes() or shmem_n_pes() return the total number of PEs running in an application.
.SH SEE ALSO
\fIintro_shmem\fP(3),
\fIshmem_my_pe\fP(3),
\fIshmem_init\fP(3)