@@ -14,27 +14,27 @@ mpicc, mpic++, mpicxx, mpifort, mpijavac -- Open MPI wrapper compilers
1414SYNTAX
1515------
1616
17- ``mpicc [-showme|- showme:compile| -showme:link] ... ``
17+ ``mpicc [-- showme | -- showme:compile | - -showme:link] ... ``
1818
19- ``mpic++ [-showme|- showme:compile| -showme:link] ... ``
19+ ``mpic++ [-- showme | -- showme:compile | - -showme:link] ... ``
2020
21- ``mpicxx [-showme|- showme:compile| -showme:link] ... ``
21+ ``mpicxx [-- showme | -- showme:compile | - -showme:link] ... ``
2222
23- ``mpifort [-showme|- showme:compile| -showme:link] ... ``
23+ ``mpifort [-- showme | -- showme:compile | - -showme:link] ... ``
2424
25- ``mpijavac [-showme|- showme:compile| -showme:link] ... ``
25+ ``mpijavac [-- showme | -- showme:compile | - -showme:link] ... ``
2626
2727The following deprecated commands are also available |mdash | but
2828``mpifort `` should be used instead:
2929
30- ``mpif77 [-showme|- showme:compile| -showme:link] ... ``
30+ ``mpif77 [-- showme | -- showme:compile | - -showme:link] ... ``
3131
32- ``mpif90 [-showme|- showme:compile| -showme:link] ... ``
32+ ``mpif90 [-- showme | -- showme:compile | - -showme:link] ... ``
3333
3434On case-sensitive filesystems, the following command will also be
3535available:
3636
37- ``mpiCC [-showme|- showme:compile| -showme:link] ... ``
37+ ``mpiCC [-- showme | -- showme:compile | - -showme:link] ... ``
3838
3939
4040OPTIONS
@@ -50,7 +50,7 @@ The options below apply to all of the wrapper compilers:
5050 the program.
5151
5252 .. note :: If a non-filename argument is passed on the command line,
53- the * - showme* option will *not * display any additional
53+ the `` -- showme`` option will *not * display any additional
5454 flags. For example, both ``"mpicc --showme `` and
5555 ``mpicc --showme my_source.c `` will show all the
5656 wrapper-supplied flags. But ``mpicc
@@ -174,17 +174,17 @@ between different installations of the same version of Open MPI.
174174Indeed, since the wrappers are simply thin shells on top of an
175175underlying compiler, there are very, very few compelling reasons *not *
176176to use Open MPI's wrapper compilers. When it is not possible to use
177- the wrappers directly, the ``-showme:compile `` and ``-showme:link ``
177+ the wrappers directly, the ``-- showme:compile `` and ``- -showme:link ``
178178options should be used to determine what flags the wrappers would have
179179used. For example:
180180
181181.. code :: sh
182182
183- shell$ cc -c file1.c ` mpicc -showme:compile`
183+ shell$ cc -c file1.c ` mpicc -- showme:compile`
184184
185- shell$ cc -c file2.c ` mpicc -showme:compile`
185+ shell$ cc -c file2.c ` mpicc -- showme:compile`
186186
187- shell$ cc file1.o file2.o ` mpicc -showme:link` -o my_mpi_program
187+ shell$ cc file1.o file2.o ` mpicc -- showme:link` -o my_mpi_program
188188
189189
190190 NOTES
0 commit comments