Skip to content

Commit

Permalink
DOC: simplify mpiexec arguement in MPI test
Browse files Browse the repository at this point in the history
  • Loading branch information
rythorpe authored and jasmainak committed Aug 19, 2022
1 parent 5ccaa28 commit df833b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/parallel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ Alternatively, run the commands below will avoid needing to run the export comma
**Test MPI**::

$ mpiexec -np 2 nrniv -mpi -python -c 'from neuron import h; from mpi4py import MPI; \
print("Hello from proc %d" % MPI.COMM_WORLD.Get_rank()); \
h.quit()'
print(f"Hello from proc {MPI.COMM_WORLD.Get_rank()}"); \
h.quit()'
numprocs=2
NEURON -- VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2018
Expand Down

0 comments on commit df833b4

Please sign in to comment.