]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo r24457 since without MPI those sections are neither initialized nor needed and...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Sep 2011 10:20:02 +0000 (10:20 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Sep 2011 10:20:02 +0000 (10:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@24463 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/timer.h

index cc9b94d02f9e1ba9c0b706f193fa5643764ecc2f..2110f3836b8f55c2cba7a1968bf2ff691aaf6431 100644 (file)
@@ -233,6 +233,7 @@ class Timer
                                      */
     MPI_Comm            mpi_communicator;
 
+#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
                                     /**
                                      * Store whether the wall time is
                                      * synchronized between machines.
@@ -249,6 +250,7 @@ class Timer
                                      * of MPI processes in the MPI_Comm.
                                      */
     Utilities::System::MinMaxAvg mpi_data;
+#endif
 };
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.