diff --git a/README.md b/README.md index 60ceb06..d2beb86 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/tutorials/run.py b/tutorials/run.py index 4b9002d..ea36354 100755 --- a/tutorials/run.py +++ b/tutorials/run.py @@ -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), @@ -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']),