Skip to content
Snippets Groups Projects
Commit 73242512 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update running_openmpi.md - fixed typo

parent 20f7ca03
No related branches found
No related tags found
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
......@@ -26,7 +26,7 @@ $ mpiexec -pernode ./helloworld_mpi.x
```
!!! note
In this example, the directive `-pernode` is used to run only **one task per node**, which is normally an unwanted behavior (unless you want to run hybrid code with just one MPI and 16 OpenMPI tasks per node). In normal MPI programs, **omit the `-pernode` directive** to run up to 16 MPI tasks per each node.
In this example, the directive `-pernode` is used to run only **one task per node**, which is normally an unwanted behavior (unless you want to run hybrid code with just one MPI and 16 OpenMP tasks per node). In normal MPI programs, **omit the `-pernode` directive** to run up to 16 MPI tasks per each node.
In this example, we allocate 4 nodes via the express queue interactively. We set up the OpenMPI environment and interactively run the helloworld_mpi.x program. Note that the executable helloworld_mpi.x must be available within the same path on all nodes. This is automatically fulfilled on the /home and /scratch filesystem.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment