library.omp Submodule

Module Summary

Interfaces for the NAG Mark 27.1 omp Chapter.

omp - OpenMP Utilities

This module contains utilities for controlling the OpenMP environment for your program. They are based on OpenMP runtime library routines, although their functionality varies slightly.

Functionality Index

Active parallel region test: in_parallel()

Nested OpenMP Parallelism

enable or disable: set_nested()

get nesting status: get_nested()

Number of OpenMP Threads

get upper bound for next parallel region: get_max_threads()

in current team: get_num_threads()

set for next parallel region: set_num_threads()

OpenMP Active Levels of Parallelism

get number of active levels allowed: get_max_active_levels()

set number of active levels: set_max_active_levels()

Threaded library test: using_threaded_impl()

Thread number: get_thread_num()

For full information please refer to the NAG Library document

https://www.nag.com/numeric/nl/nagdoc_27.1/flhtml/x06/x06intro.html