It seems that automatically, ngsolve will use all the threads to do computation. For example, it always shows “Running parallel using 24 thread(s)” for my computer, which has 24 threads, when running a Python script with ngsolve. I tried to use
SetNumThreads (12), but it does not seem to work. I can still see “Running parallel using 24 thread(s)”.
Is there any way to solve the problem? Thanks in advance!