From d5ddf0310e054d2228d87f5ddc2801e4ba35d1f3 Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Fri, 30 Aug 2019 17:12:05 +0200
Subject: [PATCH] added information about currently running part

---
 apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp b/apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp
index e542bac60..4bfa0104f 100644
--- a/apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp
+++ b/apps/benchmarks/GranularGas/MESA_PD_KernelLoadBalancing.cpp
@@ -258,6 +258,7 @@ int main( int argc, char ** argv )
    WcTimingPool tpImbalanced;
    WcTimingPool tpBalanced;
 
+   WALBERLA_LOG_INFO_ON_ROOT("*** RUNNING UNBALANCED SIMULATION ***");
    WALBERLA_MPI_BARRIER();
    tpImbalanced["AssocToBlock"].start();
    for (int64_t i=0; i < params.simulationSteps; ++i)
@@ -344,7 +345,7 @@ int main( int argc, char ** argv )
    WALBERLA_MPI_BARRIER();
    if (bRebalance)
    {
-      WALBERLA_LOG_DEVEL_ON_ROOT("running load balancing");
+      WALBERLA_LOG_INFO_ON_ROOT("*** RUNNING LOAD BALANCING ***");
       domain::createWithNeighborhood( accessor, *forest, *ic );
       for (auto pIt = ps->begin(); pIt != ps->end(); )
       {
@@ -366,6 +367,9 @@ int main( int argc, char ** argv )
       sortParticleStorage(*ps, params.sorting, lc->domain_, uint_c(lc->numCellsPerDim_[0]));
    }
 
+   WALBERLA_MPI_BARRIER();
+   WALBERLA_LOG_INFO_ON_ROOT("*** RUNNING BALANCED SIMULATION ***");
+
    WALBERLA_MPI_BARRIER();
    tpBalanced["AssocToBlock"].start();
    for (int64_t i=0; i < params.simulationSteps; ++i)
-- 
GitLab