From 8d3ebba5618536d24804f875623b65d757205c76 Mon Sep 17 00:00:00 2001 From: Cirdans-Home Date: Fri, 23 Apr 2021 12:58:38 +0200 Subject: [PATCH] Removed deprecated MPI function --- ...goDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amgprec/impl/aggregator/algoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC.cpp b/amgprec/impl/aggregator/algoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC.cpp index 1d1b2405..8be438b6 100644 --- a/amgprec/impl/aggregator/algoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC.cpp +++ b/amgprec/impl/aggregator/algoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC.cpp @@ -113,7 +113,7 @@ void dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC( const int ComputeTag = 7; //Predefined tag const int BundleTag = 9; //Predefined tag int error_codeC; - error_codeC = MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN); + error_codeC = MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN); char error_message[MPI_MAX_ERROR_STRING]; int message_length; @@ -1340,7 +1340,7 @@ void salgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC( const int ComputeTag = 7; //Predefined tag const int BundleTag = 9; //Predefined tag int error_codeC; - error_codeC = MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN); + error_codeC = MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN); char error_message[MPI_MAX_ERROR_STRING]; int message_length;