omp_set_num_threads

pyarts.arts.globals.omp_set_num_threads(threads: int = 16) 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