How to replace this parallel_for loop with OpenMP or MPI? I have no way to work with tbb library(only OpenMP or MPI)
bool satisfy = false; ParamsArray a; tbb: