Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ MPI Tutorial
This is the static webpage and code for mpitutorial.com. View mpitutorial.com/about/ for guidelines on how to contribute tutorials, or feel free to open a pull request to fix any issues.

For those that simply wish to view MPI code examples without the site, browse the tutorials/*/code directories of the various tutorials. The tutorials/run.py script provides the ability to build and run all tutorial code.

The number of processes run for each of the tutorial exists within as a dictionary in run.py itself. In order to change the configurations, please edit the run.py, and then run the example that you want the arguments to run against.
4 changes: 2 additions & 2 deletions tutorials/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# From mpi-send-and-receive tutorial
'send_recv': ('mpi-send-and-receive', 2),
'ping_pong': ('mpi-send-and-receive', 2),
'ring': ('mpi-send-and-receive', 5),
'ring': ('mpi-send-and-receive', 4),

# From the dynamic-receiving-with-mpi-probe-and-mpi-status tutorial
'check_status': ('dynamic-receiving-with-mpi-probe-and-mpi-status', 2),
Expand All @@ -23,7 +23,7 @@

# From the mpi-broadcast-and-collective-communication tutorial
'my_bcast': ('mpi-broadcast-and-collective-communication', 4),
'compare_bcast': ('mpi-broadcast-and-collective-communication', 16, ['100000', '10']),
'compare_bcast': ('mpi-broadcast-and-collective-communication', 4, ['100000', '10']),

# From the mpi-scatter-gather-and-allgather tutorial
'avg': ('mpi-scatter-gather-and-allgather', 4, ['100']),
Expand Down