Sometimes, when Mathematica thinks it is needed, it automatically threads a computation on several cores, it can happen for
NDSolve for example.
I am going to use a shared workstation, so I cannot risk that my program uses all the cores: is there a way to limit the use of cores in this case? Something similar to
LaunchKernels used for manual parallelization.
I have tried to change the default properties in the menu
Evaluation->Parallel Kernel Configurations
The default was When needed, I have changed it to Manual, but Mathematica still tries to thread the computation over all the cores of the machine. Any idea?
If needed I am running version 12.3 for Linux