Calling omp get num threads in a Serial Section

From HPCBugBase

Jump to: navigation, search

HPCBugBase Menu

Submit feedback


Overview


Index


Index by Languages

Contents

[edit] Fault Description

omp_get_num_threads() returns the number of threads currently executing the parallel section where it is called. If it is called in a serial section, the return value is always 1 regardless of the value of OMP_NUM_THREADS.

[edit] Statistics (Frequency)

[edit] Other Findings and Contexts

No pages link to $1.

Personal tools