Minimizing with multiple processors

Hi,

Yes, you need to use the OPENMP or TThread locking mechanism while reading the file and the tree as they are not yet thread safe. A few months ago I faced exactly the same problem. You can look at my solution in the following post.


https://root-forum.cern.ch/t/openmp-tfile-problem/11799/1

Cheers,
Tarak.