Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

CPU utilization in Windows

More
3 years 4 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 4 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.107 seconds