num_pes(3I)

_num_pes, NUM_PES - Returns the number of processing elements (PEs) running in an application

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.

NAME
     _num_pes, NUM_PES - Returns the number of processing elements (PEs)
     running in an application

SYNOPSIS
     C or C++:

     #include <intrinsics.h>
     int _num_pes (void);

     Fortran:

     I = NUM_PES()

STANDARDS
     C/C++ extension

     Fortran extension

DESCRIPTION
     The num_pes function returns the number of PEs running in an
     application.

C/C++ NOTES
     The _num_pes intrinsic function is evaluated at run-time and cannot be
     used in constant expressions.

     Because _num_pes is an intrinsic function, no externally visible
     library function is available for it.  The compiler generates inline
     code to produce the result.

SEE ALSO
     intro_shmem(3), my_pe(3I), start_pes(3)