OMP_GET_NUM_PROCS

Purpose:

Returns the number of processors that are available to the program.

Format:

Fortran

INTEGER FUNCTION OMP_GET_NUM_PROCS()

C/C++

#include <omp.h>
int omp_get_num_procs(void)