An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.


Home

OMP_GET_THREAD_LIMIT

Purpose:

Returns the maximum number of OpenMP threads available to a program.

Format:

Fortran

INTEGER FUNCTION OMP_GET_THREAD_LIMIT

C/C++

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

Notes:

Also see the OMP_THREAD_LIMIT environment variable.