From dc716d74e977b2efa0dc6a70a1c71ba59d374f19 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Wed, 14 May 2014 15:42:30 +0000
Subject: [PATCH] Fix screen output

[[Imported from SVN: r9734]]
---
 dune/gfe/riemanniantrsolver.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc
index 01b48563..9b9a3337 100644
--- a/dune/gfe/riemanniantrsolver.cc
+++ b/dune/gfe/riemanniantrsolver.cc
@@ -382,7 +382,7 @@ void RiemannianTrustRegionSolver<GridType,TargetSpace>::solve()
         }
 
         // Distribute solution
-        if (mpiHelper.size()>1)
+        if (mpiHelper.size()>1 and rank==0)
             std::cout << "Transfer solution back to root process ..." << std::endl;
 
         corr = vectorComm.scatter(corr_global);
-- 
GitLab