disables openmp in cases of reduction