diff --git a/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx b/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx index 41ee75c1b2c68f6ae924b4df3c3503e5c08e98eb..97247f418e060832bf643641e7608d5b95d4954b 100644 --- a/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx +++ b/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx @@ -84,20 +84,16 @@ private: void CleanupFFTWThreads() { - std::cout << "Start cleanup threads" << std::endl; // This is a trick to make sure fftw will cleanup its threads when application // shared lib is released. #if defined(ITK_USE_FFTWF) - std::cout << "ITK_USE_FFTWF" << std::endl; fftwf_cleanup_threads(); fftwf_cleanup(); #endif #if defined(ITK_USE_FFTWD) - std::cout << "ITK_USE_FFTWD" << std::endl; fftw_cleanup_threads(); fftw_cleanup(); #endif - std::cout << "End cleanup threads" << std::endl; } void DoInit() ITK_OVERRIDE diff --git a/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx b/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx index 1375ae3a5831c294cfc658ba80dece200e74098d..ca967ebb483028790fc83e36927839e956c6d65c 100644 --- a/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx +++ b/Modules/MPI/MPIConfig/src/otbMPIConfig.cxx @@ -95,8 +95,6 @@ MPIConfig::~MPIConfig() void MPIConfig::Init(int &argc, char **&argv, bool abortOnException) { if( !m_terminated ) { - std::cout << "MPI Initialization : " << this << std::endl; - std::flush(std::cout); // Abort on exception m_abortOnException = abortOnException; // Initialize @@ -141,27 +139,18 @@ void MPIConfig::terminate() { if( m_initialized && !m_terminated ) { - std::cout << "Terminate : " << this << std::endl; - std::flush(std::cout); if( std::uncaught_exception() && m_abortOnException ) { - std::cout << "Abord" << std::endl; abort( EXIT_FAILURE ); } else { - std::cout << "Start Finalize MPI" << std::endl; - std::flush( std::cout ); int finalized; OTB_MPI_CHECK_RESULT( MPI_Finalized, ( &finalized )); if( !finalized ) { - std::cout << "Start 2nd End Finalize MPI" << std::endl; OTB_MPI_CHECK_RESULT( MPI_Finalize, ( )); - std::cout << "End 2nd Finalize MPI" << std::endl; } - std::cout << "End Finalize MPI" << std::endl; - std::flush( std::cout ); } m_terminated = true; }