Skip to content
Snippets Groups Projects
Commit fc5e5428 authored by Xin Li's avatar Xin Li
Browse files

updated README.md

parent d2d55842
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ salloc -p shared --nodes=1 --ntasks=16 -t 0:30:00 -A edu22.summer --reservation= ...@@ -47,7 +47,7 @@ salloc -p shared --nodes=1 --ntasks=16 -t 0:30:00 -A edu22.summer --reservation=
You might also need to specify a **reservation** by adding the flag `--reservation=<name-of-reservation>`. You might also need to specify a **reservation** by adding the flag `--reservation=<name-of-reservation>`.
For the 2022 PDC Summer School the reservation name is ``summer-<date>``, where ``date`` is to be provided in the format ``YYYY-MM-DD``, e.g. ``summer-2022-08-16``. For the 2022 PDC Summer School the reservation name is ``summer-<date>``, where ``date`` is to be provided in the format ``YYYY-MM-DD``, e.g. ``summer-2022-08-16``.
Then the mpirun command is used to launch an MPI application: Then the srun command is used to launch an MPI application:
``` ```
srun -n 16 ./example.x srun -n 16 ./example.x
......
...@@ -49,15 +49,15 @@ Use ``mpi_wtime`` to compute latency and bandwidth with the bandwidth and latenc ...@@ -49,15 +49,15 @@ Use ``mpi_wtime`` to compute latency and bandwidth with the bandwidth and latenc
For this exercise you should compare different setups where (a) both MPI ranks are on the same node, e.g. For this exercise you should compare different setups where (a) both MPI ranks are on the same node, e.g.
``` ```
salloc -p shared --nodes=1 --cpus-per-task=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> salloc -p shared --nodes=1 --ntasks=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation>
mpirun -n 2 ./mpi_latency.x srun -n 2 ./mpi_latency.x
``` ```
or on separate nodes, e.g. or on separate nodes, e.g.
``` ```
salloc -p main --nodes=2 --cpus-per-task=2 -t 0:30:00 -A edu22.summer salloc -p shared --nodes=2 --ntasks=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation>
mpirun -n 2 ./mpi_latency.x srun -n 2 ./mpi_latency.x
``` ```
Compare the different results and reason about the observed values. Compare the different results and reason about the observed values.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment