From 67594f8b07c5d7547af166c5040f779fc8b37b1c Mon Sep 17 00:00:00 2001 From: sfilippone Date: Thu, 30 May 2024 17:35:15 +0200 Subject: [PATCH] Fixes for OpenMP --- amgprec/impl/aggregator/MatchBoxPC.cpp | 2 +- amgprec/impl/aggregator/processMatchedVertices.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amgprec/impl/aggregator/MatchBoxPC.cpp b/amgprec/impl/aggregator/MatchBoxPC.cpp index 146e8aa1..a43fb2f5 100644 --- a/amgprec/impl/aggregator/MatchBoxPC.cpp +++ b/amgprec/impl/aggregator/MatchBoxPC.cpp @@ -74,7 +74,7 @@ void dMatchBoxPC(MilanLongInt NLVer, MilanLongInt NLEdge, // Rimosso per tornare al vecchio matching #define OMP #ifdef OPENMP - fprintf(stderr,"Warning: using buggy OpenMP matching!\n"); + //fprintf(stderr,"Warning: using buggy OpenMP matching!\n"); dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateCMP(NLVer, NLEdge, verLocPtr, verLocInd, edgeLocWeight, verDistance, Mate, diff --git a/amgprec/impl/aggregator/processMatchedVertices.cpp b/amgprec/impl/aggregator/processMatchedVertices.cpp index d88199a6..77ec34bb 100644 --- a/amgprec/impl/aggregator/processMatchedVertices.cpp +++ b/amgprec/impl/aggregator/processMatchedVertices.cpp @@ -1,5 +1,5 @@ #include "MatchBoxPC.h" -#ifdef OMP +#ifdef OPENMP void processMatchedVertices( MilanLongInt NLVer, vector &UChunkBeingProcessed,