Skip to content
Snippets Groups Projects
Commit e053b414 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Added std::flush to TNL_MPI_PRINT to avoid mixed output.

parent c8e724ac
No related branches found
No related tags found
1 merge request!26Lbm
......@@ -549,7 +549,7 @@ else
{ \
std::cerr << "Node " << __tnl_mpi_print_j << " of " \
<< TNL::Communicators::MpiCommunicator::GetSize( TNL::Communicators::MpiCommunicator::AllGroup ) \
<< " : " << message << std::endl; \
<< " : " << message << std::endl << std::flush; \
} \
TNL::Communicators::MpiCommunicator::Barrier( TNL::Communicators::MpiCommunicator::AllGroup ); \
}
......@@ -575,7 +575,7 @@ else
if( condition ) \
std::cerr << "Node " << __tnl_mpi_print_j << " of " \
<< TNL::Communicators::MpiCommunicator::GetSize( TNL::Communicators::MpiCommunicator::AllGroup ) \
<< " : " << message << std::endl; \
<< " : " << message << std::endl << std::flush; \
} \
TNL::Communicators::MpiCommunicator::Barrier( TNL::Communicators::MpiCommunicator::AllGroup ); \
} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment