Add OpenMP thread Nb var to config script + opt. override, Refs #2622
-
Checked locally that the variable OMP_NUM_THREADS
is set to 1 in all config scripts and CI macros in standard setup+compile -
Checked locally that defining OMP_NUM_THREADS
in the env. leads to the value being used for all config scripts and macros instead of 1
Planned reviewer for "advanced OpenMP user" review: @fweig (cannot assign due to our role model)
Edited by Pierre-Alain Loizeau
Merge request reports
Activity
Filter activity
assigned to @f.uhlig
Dear @f.uhlig, @v.friese, @p.-a.loizeau,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
added Build System label
with the change you fix the number of cores at compile time which is probably something you don't want to do. I would propose to change the scripts such that the variable will only be exported when it is not yet existing.
if [[ -z "${OMP_NUM_THREADS}" ]]; then export OMP_NUM_THREADS=@OMP_NUM_THREADS@ fi
added 6 commits
-
9394ab4a...07b3661d - 5 commits from branch
computing:master
- b27b1160 - Add OpenMP thread Nb var to config script + opt. override, Refs #2622
-
9394ab4a...07b3661d - 5 commits from branch
enabled an automatic merge when the pipeline for b27b1160 succeeds
Please register or sign in to reply