is there any way I can stop the printing of the message task-based parallelization (C++11 threads) using xx threads to the console whenever TaskManager() gets called? Unfortunately, changing ngsglobals.msg_level does not help.
I thought that line is helpful…
But if you build ngsolve from source, you may simply comment out the line
78: std::cout << "task-based parallelization (C++11 threads) using “<< task_manager->GetNumThreads() << " threads” << std::endl;
in taskmanager.cpp in the source code and recompile.
thank you for the hint ! The line you suggested looked slightly different in the sources I have, but from that point I now found a way from the python end:
from pyngcore import SetLoggingLevel, LOG_LEVEL
SetLoggingLevel(LOG_LEVEL.Warn,"TaskManager")
Because I call the TaskManager only where its needed (twice in every iteration of my time loop), my own output is drowned in the console by this message.