Hi Lorenzo,
[quote=“moneta”]You can use whatever example of Fitting or minimization. For fitting you need to set Minuit2 as default minimizer:
ROOT::Math::MinimizerOptions::SetDefaultMinimizer("Minuit2")
And then the fitting will be automatically computed using the available cores
Lorenzo[/quote]
Is that all that needs to be done? I tried it, but it appears that with both MIGRAD and SIMPLEX minimization only one core is used. Do I need to setup and configure OPENMPI to use multiple cores? Or set some environment variables? I am compiling a standalone C++ application with ROOT+Minuit2 libraries.
Tarak.