OpenMP Defaults Are Not Portable: A Note on OMP_DYNAMIC
Published:
For reproducible scaling experiments, it is good practice to explicitly set
OMP_DYNAMIC=false, especially when you want to guarantee the number of
threads spawned for each parallel region. In this short article, I explain why
this is important and how one can sift through the GCC codebase (140k+ files
and more than 5 million LOC) plus the OpenMP standard to find this information.