Limit number of CPU cores I am using while using parfor #4

Closed
opened 2024-06-25 20:51:47 +02:00 by Soothysay · 1 comment
Soothysay commented 2024-06-25 20:51:47 +02:00 (Migrated from github.com)

Hi,
I've been using parfor for running a code that takes days to finish. However, I noticed that when I use parfor, it uses all of the CPU cores thus making it really hard for me to do any other CPU intensive task. Is there any way to control the number of CPU cores parfor uses?

Hi, I've been using parfor for running a code that takes days to finish. However, I noticed that when I use parfor, it uses all of the CPU cores thus making it really hard for me to do any other CPU intensive task. Is there any way to control the number of CPU cores parfor uses?
wimpomp commented 2024-07-02 13:25:18 +02:00 (Migrated from github.com)

Please look for 'n_processes' in the readme.

Please look for 'n_processes' in the readme.
Sign in to join this conversation.