From 70edd73e1005ceba98871a9490e2482905dcd605 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 5 Sep 2016 09:54:30 -0400 Subject: [PATCH] Fix links to Utilities::MPI::MPI_InitFinalize. --- examples/step-32/doc/intro.dox | 5 +++-- include/deal.II/base/multithread_info.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/step-32/doc/intro.dox b/examples/step-32/doc/intro.dox index 099a9bcc9e..9c0d6d5326 100644 --- a/examples/step-32/doc/intro.dox +++ b/examples/step-32/doc/intro.dox @@ -831,8 +831,9 @@ processors busy and you won't get any additional speedup from using threads. For example, if your cluster nodes have 8 cores as they often have at the time of writing this, and if your batch scheduler puts 8 MPI processes on each node, then using threads doesn't make the program any -faster. Consequently, you probably want to either configure your deal.II without threads, or set the number of threads in MPI_InitFinalize to 1 (third argument), or "export DEAL_II_NUM_THREADS=1" before running. -That said, at +faster. Consequently, you probably want to either configure your deal.II without +threads, or set the number of threads in Utilities::MPI::MPI_InitFinalize to 1 +(third argument), or "export DEAL_II_NUM_THREADS=1" before running. That said, at the time of writing this, we only use the WorkStream class for assembling (parts of) linear systems, while 75% or more of the run time of the program is spent in the linear solvers that are not parallelized — in other words, diff --git a/include/deal.II/base/multithread_info.h b/include/deal.II/base/multithread_info.h index 9837936da1..b957a18203 100644 --- a/include/deal.II/base/multithread_info.h +++ b/include/deal.II/base/multithread_info.h @@ -81,8 +81,9 @@ public: * * This routine is executed automatically with the default argument before * your code in main() is running (using a static constructor). It is also - * executed by MPI_InitFinalize. Use the appropriate argument of the - * constructor of MPI_InitFinalize if you have an MPI based code. + * executed by Utilities::MPI::MPI_InitFinalize. Use the appropriate + * argument of the constructor of Utilities::MPI::MPI_InitFinalize if you + * have an MPI based code. */ static void set_thread_limit (const unsigned int max_threads = numbers::invalid_unsigned_int); -- 2.39.5