... | ... | @@ -29,7 +29,7 @@ See this [link](https://github.com/xianyi/OpenBLAS#setting-the-number-of-threads |
|
|
|
|
|
If you are currently working with another program or library that uses multi-threading, and you can share some code or some tips on how to limit the number of threads, please contact the sysadmins. We will be glad to add your suggestions to this page. We have some more settings but we did not have time to document them properly.
|
|
|
|
|
|
**TLDR**: In any case, this is a safe setting that we found works quite well on our servers to prevent most libraries to make an excessive use of resources:
|
|
|
**TLDR**: In any case, this is a safe set of exports that we found to work quite well on our servers to prevent most libraries to make an excessive use of resources:
|
|
|
```
|
|
|
export OMP_NUM_THREADS=4
|
|
|
export OPENBLAS_NUM_THREADS=4
|
... | ... | |