Skip to content

Commit 8bc4e3f

Browse files
authored
docs: mpirun --version to get MPI version (#2915)
The output of `mpirun -h` does not contain the MPI version.
1 parent b426d14 commit 8bc4e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/troubleshooting/howtoset_num_nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Set the number of processes with:
1616
```bash
1717
mpirun -np $num_nodes dp
1818
```
19-
Note that `mpirun` here should be the same as the MPI used to build software. For example, one can use `mpirun -h` and `lmp -h` to see if `mpirun` and LAMMPS has the same MPI version.
19+
Note that `mpirun` here should be the same as the MPI used to build software. For example, one can use `mpirun --version` and `lmp -h` to see if `mpirun` and LAMMPS has the same MPI version.
2020

2121
Sometimes, `$num_nodes` and the nodes information can be directly given by the HPC scheduler system, if the MPI used here is the same as the MPI used to build the scheduler system. Otherwise, one have to manually assign these information.
2222

0 commit comments

Comments
 (0)