peterwittek / somoclu

Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters

Home Page:https://peterwittek.github.io/somoclu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to limit core count use?

Zub4ir opened this issue · comments

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.

You can try the OMP_NUM_THREADS environment variable.

I just used the operating system resource limiting functionality.