pyarts.arts.globals.omp_set_num_threads

globals.omp_set_num_threads(arg: int, /) None

Sets the maximum number of OpenMP threads

The input is clamped between 1 and n, where n is the startup value of omp_get_max_threads (which is also the default value)

Parameters:

threads (int) – Number of threads