library.omp Submodule

Module Summary

Interfaces for the NAG Mark 30.2 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()

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://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/x06/x06intro.html