@@ -14,27 +14,27 @@ mpicc, mpic++, mpicxx, mpifort, mpijavac -- Open MPI wrapper compilers
14
14
SYNTAX
15
15
------
16
16
17
- ``mpicc [-showme|- showme:compile| -showme:link] ... ``
17
+ ``mpicc [-- showme | -- showme:compile | - -showme:link] ... ``
18
18
19
- ``mpic++ [-showme|- showme:compile| -showme:link] ... ``
19
+ ``mpic++ [-- showme | -- showme:compile | - -showme:link] ... ``
20
20
21
- ``mpicxx [-showme|- showme:compile| -showme:link] ... ``
21
+ ``mpicxx [-- showme | -- showme:compile | - -showme:link] ... ``
22
22
23
- ``mpifort [-showme|- showme:compile| -showme:link] ... ``
23
+ ``mpifort [-- showme | -- showme:compile | - -showme:link] ... ``
24
24
25
- ``mpijavac [-showme|- showme:compile| -showme:link] ... ``
25
+ ``mpijavac [-- showme | -- showme:compile | - -showme:link] ... ``
26
26
27
27
The following deprecated commands are also available |mdash | but
28
28
``mpifort `` should be used instead:
29
29
30
- ``mpif77 [-showme|- showme:compile| -showme:link] ... ``
30
+ ``mpif77 [-- showme | -- showme:compile | - -showme:link] ... ``
31
31
32
- ``mpif90 [-showme|- showme:compile| -showme:link] ... ``
32
+ ``mpif90 [-- showme | -- showme:compile | - -showme:link] ... ``
33
33
34
34
On case-sensitive filesystems, the following command will also be
35
35
available:
36
36
37
- ``mpiCC [-showme|- showme:compile| -showme:link] ... ``
37
+ ``mpiCC [-- showme | -- showme:compile | - -showme:link] ... ``
38
38
39
39
40
40
OPTIONS
@@ -50,7 +50,7 @@ The options below apply to all of the wrapper compilers:
50
50
the program.
51
51
52
52
.. 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
54
54
flags. For example, both ``"mpicc --showme `` and
55
55
``mpicc --showme my_source.c `` will show all the
56
56
wrapper-supplied flags. But ``mpicc
@@ -174,17 +174,17 @@ between different installations of the same version of Open MPI.
174
174
Indeed, since the wrappers are simply thin shells on top of an
175
175
underlying compiler, there are very, very few compelling reasons *not *
176
176
to 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 ``
178
178
options should be used to determine what flags the wrappers would have
179
179
used. For example:
180
180
181
181
.. code :: sh
182
182
183
- shell$ cc -c file1.c ` mpicc -showme:compile`
183
+ shell$ cc -c file1.c ` mpicc -- showme:compile`
184
184
185
- shell$ cc -c file2.c ` mpicc -showme:compile`
185
+ shell$ cc -c file2.c ` mpicc -- showme:compile`
186
186
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
188
188
189
189
190
190
NOTES
0 commit comments