From 3a71be127d48058ac05190245258ed55d189d6cf Mon Sep 17 00:00:00 2001
From: Ludovic Hussonnois <ludovic.hussonnois@c-s.fr>
Date: Wed, 8 Feb 2017 16:27:46 +0100
Subject: [PATCH] BUG: try bugfix fft-debug, remove MPI_Finalize (only for
 testing)

---
 Modules/MPI/MPIConfig/src/otbMPIConfig.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx b/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx
index 5422797b1b..75fc3a1c3e 100644
--- a/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx
+++ b/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx
@@ -102,7 +102,7 @@ MPIConfig::~MPIConfig()
        if (!finalized)
        {
          std::cout << "Start 2nd End Finalize MPI" << std::endl;
-         OTB_MPI_CHECK_RESULT(MPI_Finalize,());
+         //OTB_MPI_CHECK_RESULT(MPI_Finalize,());
          std::cout << "End 2nd  Finalize MPI" << std::endl;
        }
        std::cout << "End Finalize MPI" << std::endl;
-- 
GitLab