Skip to content
Snippets Groups Projects
Commit b16c4e68 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

Merge branch 'TTFix' into 'master'

fixed timingtree reduce for non mpi builds and single process runs

See merge request walberla/walberla!50
parents 5e60704d 499c98fb
Branches
Tags
No related merge requests found
...@@ -190,6 +190,7 @@ enum ReduceType ...@@ -190,6 +190,7 @@ enum ReduceType
template< typename TP > // Timing policy template< typename TP > // Timing policy
void reduceInplace( TimingNode<TP>& tn, ReduceType rt = REDUCE_TOTAL, int targetRank = 0 ) void reduceInplace( TimingNode<TP>& tn, ReduceType rt = REDUCE_TOTAL, int targetRank = 0 )
{ {
if (mpi::MPIManager::instance()->numProcesses() == 1) return;
if (tn.tree_.empty()) return; if (tn.tree_.empty()) return;
std::vector<double> min; std::vector<double> min;
......
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