From dd432f7c147786556317d2733e84fbd42ca4ec11 Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Mon, 22 Feb 2021 16:24:07 +0100
Subject: [PATCH] tiny themefix, tutorialfix (#1390)
---
doc/scripts/divio_docs_theme/layout.html | 2 +-
doc/tutorial/mpi.rst | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/doc/scripts/divio_docs_theme/layout.html b/doc/scripts/divio_docs_theme/layout.html
index 6b8f0284..f7d0e765 100755
--- a/doc/scripts/divio_docs_theme/layout.html
+++ b/doc/scripts/divio_docs_theme/layout.html
@@ -127,7 +127,7 @@
<div class="header-title-wrap">
<a class="header-title" href="{{ pathto(master_doc) }}">{{ project }}</a>
</div>
- <a class="logo-link" target="_blank" href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="Divio"/></a>
+ <a class="logo-link" target="_blank" href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="{{ project }}"/></a>
</div>
{% include "breadcrumbs.html" %}
diff --git a/doc/tutorial/mpi.rst b/doc/tutorial/mpi.rst
index 0d44ab98..236a5af0 100644
--- a/doc/tutorial/mpi.rst
+++ b/doc/tutorial/mpi.rst
@@ -58,14 +58,13 @@ it as an argument to the ``python`` command, you need to use ``srun`` or ``mpiru
distribution) to execute a number of jobs in parallel. You can still execute the script using ``python``, but then
MPI will not execute on more than one node.
-From the commandline, we can run the script using ``mpirun`` or ``srun`` and specify the number of ranks (``NRANKS``)
+From the commandline, we can run the script using ``mpirun`` (``srun`` on clusters operated with SLURM) and specify the number of ranks (``NRANKS``)
or nodes. Arbor will spread the cells evenly over the ranks, so with ``NRANKS`` set to 5, we'd be spreading the 500
cells over 5 nodes, simulating 100 cells each.
.. code-block::
- srun -n NRANKS python network_ring_mpi.py
- mpirun -n NRANKS python network_ring_mpi.py
+ mpirun -n NRANKS python mpi.py
The results
***********
--
GitLab