Got it to work by sprinkling omp critical around the reporting