From 6dbe5bf76ad7d73a1894e0f7228a57cdbd8bc8c9 Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Salehi Dezfuli Date: Mon, 4 Dec 2023 15:56:00 -0500 Subject: [PATCH] Fix hdag omp pragma --- src/hdagg/hdagg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdagg/hdagg.cpp b/src/hdagg/hdagg.cpp index 50c687d..b46dfd8 100755 --- a/src/hdagg/hdagg.cpp +++ b/src/hdagg/hdagg.cpp @@ -1456,7 +1456,7 @@ namespace HDAGG std::vector group_size(n + 1, 0); //NOTE: We have to do these stuff so that the resulted DAG will be a lower triangular one //Sort Groups and give each group a name based on the minimum of the ids inside a group - #pragma parallel for + #pragma omp parallel for for(int g = 0; g < ngroups; g++){ //Don't sort right now, it will be ordered at the end of coarsening. //std::sort(group_set.data() + group_ptr[g], group_set.data() + group_ptr[g + 1]);