Skip to content

Commit d8f17ae

Browse files
authored
Merge pull request #7097 from mcoil1/pr/README-fix2
README: Use "--" notation for CLI options
2 parents dce203f + 7e07346 commit d8f17ae

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,16 +1972,14 @@ equivalent) to launch MPI applications. For example:
19721972
or
19731973
shell$ mpiexec -np 1 hello_world_mpi : -np 1 hello_world_mpi
19741974

1975-
are equivalent. Some of mpiexec's switches (such as -host and -arch)
1976-
are not yet functional, although they will not error if you try to use
1977-
them.
1975+
are equivalent.
19781976

1979-
The rsh launcher (which defaults to using ssh) accepts a -hostfile
1980-
parameter (the option "-machinefile" is equivalent); you can specify a
1981-
-hostfile parameter indicating an standard mpirun-style hostfile (one
1977+
The rsh launcher (which defaults to using ssh) accepts a --hostfile
1978+
parameter (the option "--machinefile" is equivalent); you can specify a
1979+
--hostfile parameter indicating an standard mpirun-style hostfile (one
19821980
hostname per line):
19831981

1984-
shell$ mpirun -hostfile my_hostfile -np 2 hello_world_mpi
1982+
shell$ mpirun --hostfile my_hostfile -np 2 hello_world_mpi
19851983

19861984
If you intend to run more than one process on a node, the hostfile can
19871985
use the "slots" attribute. If "slots" is not specified, a count of 1

0 commit comments

Comments
 (0)