Hi,
I'm now using CAMB in Python (version--1.3.6).
I found that during usage, CAMB occupies all the CPU resources, even though I haven't made any multithreading settings.
I'm wondering how to limit the CPU usage of CAMB in Python.
Thanks,
Jiachen
CAMB: CPU usage problem
-
- Posts: 1
- Joined: August 23 2023
- Affiliation: Beijing Normal University
- Contact:
-
- Posts: 1984
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CAMB: CPU usage problem
You can set camb.config.TheadNum (or set OMP_NUM_THREADS env more generally).