How to limit core count use?
Zub4ir opened this issue · comments
Zubair Patel commented
Hi,
How do I limit the available cores to the train function (and SOMOCLU in general)? The training function uses all my 4 cores pushing my CPU to 100%. I'd like to keep some free CPU so that I can still work on my PC.
xgdgsc commented
You can try the OMP_NUM_THREADS
environment variable.
Zubair Patel commented
I just used the operating system resource limiting functionality.