Commit bbe5788
committed
Fix Fortran preprocessor issue with CPPFLAGS
* Some C and Fortran compilers use different preprocessors. If one preprocessor
accepts `-iquote` and the other does not then a compiler error will occur
when Open MPI tries to use it.
- Nvidia/PGI v22.1-0 is one such. The C compiler supports `-iquote`
while the Fortran compiler does not.
* Similar to PR #7265 we need to clear the `CPPFLAGS` and `AM_CPPFLAGS`
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>1 parent 60e82dd commit bbe5788
File tree
2 files changed
+18
-0
lines changed- ompi/mpiext
- example/use-mpi-f08
- ftmpi/use-mpi-f08
2 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
| |||
0 commit comments