Commit d5ddf031 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

added information about currently running part

parent 607a25a1
...@@ -258,6 +258,7 @@ int main( int argc, char ** argv ) ...@@ -258,6 +258,7 @@ int main( int argc, char ** argv )
WcTimingPool tpImbalanced; WcTimingPool tpImbalanced;
WcTimingPool tpBalanced; WcTimingPool tpBalanced;
WALBERLA_LOG_INFO_ON_ROOT("*** RUNNING UNBALANCED SIMULATION ***");
WALBERLA_MPI_BARRIER(); WALBERLA_MPI_BARRIER();
tpImbalanced["AssocToBlock"].start(); tpImbalanced["AssocToBlock"].start();
for (int64_t i=0; i < params.simulationSteps; ++i) for (int64_t i=0; i < params.simulationSteps; ++i)
...@@ -344,7 +345,7 @@ int main( int argc, char ** argv ) ...@@ -344,7 +345,7 @@ int main( int argc, char ** argv )
WALBERLA_MPI_BARRIER(); WALBERLA_MPI_BARRIER();
if (bRebalance) if (bRebalance)
{ {
WALBERLA_LOG_DEVEL_ON_ROOT("running load balancing"); WALBERLA_LOG_INFO_ON_ROOT("*** RUNNING LOAD BALANCING ***");
domain::createWithNeighborhood( accessor, *forest, *ic ); domain::createWithNeighborhood( accessor, *forest, *ic );
for (auto pIt = ps->begin(); pIt != ps->end(); ) for (auto pIt = ps->begin(); pIt != ps->end(); )
{ {
...@@ -366,6 +367,9 @@ int main( int argc, char ** argv ) ...@@ -366,6 +367,9 @@ int main( int argc, char ** argv )
sortParticleStorage(*ps, params.sorting, lc->domain_, uint_c(lc->numCellsPerDim_[0])); 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(); WALBERLA_MPI_BARRIER();
tpBalanced["AssocToBlock"].start(); tpBalanced["AssocToBlock"].start();
for (int64_t i=0; i < params.simulationSteps; ++i) for (int64_t i=0; i < params.simulationSteps; ++i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment