Salome HOME
Adapt for C++17
[tools/medcoupling.git] / src / ParaMEDMEMTest / MPIAccessTest.hxx
index 22108d361b6421ac7944cd185a555e3b1d6999ea..b53312cc00e3b9e07f1c5318fa1feb3101ba510a 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #include <iostream>
 #include "mpi.h"
 
+// (ABN]: too many text output in the MPIAccesTest - this renders
+// the analysis complicated:
+#define MPI_ACCESS_VERBOSE 0
+#define debugStream \
+    if (!MPI_ACCESS_VERBOSE) {} \
+    else std::cout
 
 class MPIAccessTest : public CppUnit::TestFixture
 {