- Thank you received: 0
CPU utilization in Windows
3 years 11 months ago #3434
by jsh
CPU utilization in Windows was created by jsh
Hi, when I run my code in Windows machine, only about 18% of the CPU is used. This is probably because not all cores are being used. Is there a way to allow higher utilization of the CPU by ngsolve when running on Windows OS. In Linux, it automatically uses all the cores.
Thanks!
Shreyas
Thanks!
Shreyas
3 years 11 months ago #3435
by matthiash
Replied by matthiash on topic CPU utilization in Windows
Hi Shreyas,
Using all cores on your computer must be enabled explicitly using the "with TaskManager():" statement in your Python code. See the documentation for more details:
ngsolve.org/docu/nightly/how_to/howto_parallel.html
Best,
Matthias
Using all cores on your computer must be enabled explicitly using the "with TaskManager():" statement in your Python code. See the documentation for more details:
ngsolve.org/docu/nightly/how_to/howto_parallel.html
Best,
Matthias
The following user(s) said Thank You: jsh
Time to create page: 0.103 seconds