]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-40: output ranks and what linear algebra we use 3243/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 14 Oct 2016 15:39:36 +0000 (11:39 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 14 Oct 2016 15:39:36 +0000 (11:39 -0400)
examples/step-40/step-40.cc

index a2e7dd88a342dd2ae849bc586ae7a291f2519ca3..3d16de92a173b0c1cb9fca5ec8616fdadc4d6df8 100644 (file)
@@ -647,6 +647,16 @@ namespace Step40
   template <int dim>
   void LaplaceProblem<dim>::run ()
   {
+    pcout << "Running with "
+#ifdef USE_PETSC_LA
+          << "PETSc"
+#else
+          << "Trilinos"
+#endif
+          << " on "
+          << Utilities::MPI::n_mpi_processes(mpi_communicator)
+          << " MPI rank(s)..." << std::endl;
+
     const unsigned int n_cycles = 8;
     for (unsigned int cycle=0; cycle<n_cycles; ++cycle)
       {

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.