Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
dd432f7c
Unverified
Commit
dd432f7c
authored
4 years ago
by
Brent Huisman
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
tiny themefix, tutorialfix (#1390)
parent
0d336d3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/scripts/divio_docs_theme/layout.html
+1
-1
1 addition, 1 deletion
doc/scripts/divio_docs_theme/layout.html
doc/tutorial/mpi.rst
+2
-3
2 additions, 3 deletions
doc/tutorial/mpi.rst
with
3 additions
and
4 deletions
doc/scripts/divio_docs_theme/layout.html
+
1
−
1
View file @
dd432f7c
...
...
@@ -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" %}
...
...
This diff is collapsed.
Click to expand it.
doc/tutorial/mpi.rst
+
2
−
3
View file @
dd432f7c
...
...
@@ -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
***********
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment