enrico-dev / enrico

ENRICO: Exascale Nuclear Reactor Investigative COde
https://enrico-docs.readthedocs.io
BSD 3-Clause "New" or "Revised" License
62 stars 25 forks source link

Toggle num threads before single-physics driver execute #150

Closed RonRahaman closed 3 years ago

RonRahaman commented 3 years ago

This is a workaround for the fact that nekRS forces the number of OpenMP threads to be 1:

https://github.com/Nek5000/nekRS/blob/d955b9b75cf50ca525dfc2f9c5a38e8c622e5d59/src/core/utils/occaHelpers.cpp#L92-L93

The nekRS devs confirmed that this will be removed in upcoming versions. At that point, we should be able to revert this PR.

In this PR:

RonRahaman commented 3 years ago

(edited PR description with more clarity)