From c1e8bc0c571925c4b3a5007b0172920cbec4e12f Mon Sep 17 00:00:00 2001 From: sfilippone Date: Fri, 5 Jul 2024 14:23:44 +0200 Subject: [PATCH] Do not use OpenMP code for serial version --- amgprec/impl/aggregator/MatchBoxPC.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/amgprec/impl/aggregator/MatchBoxPC.cpp b/amgprec/impl/aggregator/MatchBoxPC.cpp index ef0cb3ef..8295c0af 100644 --- a/amgprec/impl/aggregator/MatchBoxPC.cpp +++ b/amgprec/impl/aggregator/MatchBoxPC.cpp @@ -72,8 +72,7 @@ void dMatchBoxPC(MilanLongInt NLVer, MilanLongInt NLEdge, double tmr = MPI_Wtime(); #endif -#if 1 - // defined(OPENMP) +#if defined(OPENMP) //fprintf(stderr,"Warning: using buggy OpenMP matching!\n"); dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateCMP(NLVer, NLEdge, verLocPtr, verLocInd, edgeLocWeight, @@ -115,8 +114,7 @@ void sMatchBoxPC(MilanLongInt NLVer, MilanLongInt NLEdge, fprintf(stderr,"MatchBoxPC: rank %d nlver %ld nledge %ld [ %ld %ld ]\n", myRank,NLVer, NLEdge,verDistance[0],verDistance[1]); #endif -#if 1 - // defined(OPENMP) +#if defined(OPENMP) //fprintf(stderr,"Warning: using buggy OpenMP matching!\n"); salgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateCMP(NLVer, NLEdge, verLocPtr, verLocInd, edgeLocWeight,