Am 17.01.2020 um 10:11 schrieb Sven Schreiber:
Am 16.01.2020 um 17:42 schrieb Allin Cottrell:
> In light of Sven's account I wondered whether this libgomp-level
> setting was not "getting through" to the openblas library, but in my
> testing it appears to be working fine. Nonetheless, I've added a call
> to openblas_set_num_threads() just in case that makes a difference on
> some systems.
openblas_set_num_threads(1) is indeed one of the recommended ways
(
https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded)
P.S. On the main page
https://github.com/xianyi/OpenBLAS it says about
environment settings:
The priorities are OPENBLAS_NUM_THREADS > GOTO_NUM_THREADS >
OMP_NUM_THREADS.
-s