CPU utilization in Windows

More
3 years 11 months ago #3434 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
More
3 years 11 months ago #3435 by matthiash
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
The following user(s) said Thank You: jsh
Time to create page: 0.103 seconds