diff --git a/README.md b/README.md index bcbf269701083feb79856de8bedc5cf55d91ff3e..5c1a0685206b06c85ced788c5dc2eba9819e06a1 100644 --- a/README.md +++ b/README.md @@ -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>`. 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 diff --git a/lab2/README.md b/lab2/README.md index 81784840ba263d04a46411a66d6ca3c14cf50e82..4b17b1e7b651d3b57250c8cc035fb85d2cd5117c 100644 --- a/lab2/README.md +++ b/lab2/README.md @@ -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. ``` -salloc -p shared --nodes=1 --cpus-per-task=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> -mpirun -n 2 ./mpi_latency.x +salloc -p shared --nodes=1 --ntasks=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> +srun -n 2 ./mpi_latency.x ``` or on separate nodes, e.g. ``` -salloc -p main --nodes=2 --cpus-per-task=2 -t 0:30:00 -A edu22.summer -mpirun -n 2 ./mpi_latency.x +salloc -p shared --nodes=2 --ntasks=2 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> +srun -n 2 ./mpi_latency.x ``` Compare the different results and reason about the observed values.