From c8ae9e7273e9c85ca927a6dcb18df37fabd65c89 Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Wed, 26 Jan 2011 10:15:24 +0000 Subject: [PATCH] Writing debug files in parallel not only in debug mode. --- AMDiS/src/parallel/MeshDistributor.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AMDiS/src/parallel/MeshDistributor.cc b/AMDiS/src/parallel/MeshDistributor.cc index f31725ef..2afa491d 100644 --- a/AMDiS/src/parallel/MeshDistributor.cc +++ b/AMDiS/src/parallel/MeshDistributor.cc @@ -1716,6 +1716,11 @@ namespace AMDiS { MSG("nRankDofs = %d\n", nRankDofs); MSG("nOverallDofs = %d\n", nOverallDofs); MSG("rstart %d\n", rstart); +#else + int tmp = 0; + GET_PARAMETER(0, name + "->write parallel debug file", "%d", &tmp); + if (tmp) + ParallelDebug::writeDebugFile(*this, debugOutputDir + "mpi-dbg", "dat"); #endif } -- GitLab