-
Notifications
You must be signed in to change notification settings - Fork 901
nvfortran-Error-Unknown switch: -iquote../../../../../.. #9716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
FWIW: I get this even using the PGI/Nvidia C compiler combined with the PGI/Nvidia fortran compiler (I'm using
It seems the I think the only solution here is to strengthen the check here to check both a C program and a fortran program for The alternative is to adjust the build system more extensively to have a C and Fortran version of the |
Perhaps messier, but necessary because there's absolutely no guarantee CC and FC preprocess the same. As you know, XLF doesn't (unless it has changed) accept -D at all, but rather -WF,-D. Even gfortran and gcc behave differently, just not with respect to the flags. |
I have a narrow fix in hand for this particular case as a short-term fix. But I agree that we should separate the CPPFLAGS from the FPPFLAGS (name?). I'll see if I can scope the amount of work needed for that. |
I think this was caused #7169, unintentionally and indirectly.
The issue here is that configure assumes that the preprocessor used for C and Fortran are the same. This is not true when GCC C and NV/PGI Fortran are combined.
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
Every git update I've tried this year is affected.
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
git clone, e.g. 1da3f93 and bc7bb12
If you are building/installing from a git clone, please copy-n-paste the output from
git submodule status
.the ones that come with the recursive clones of the git hashes above.
Please describe the system on which you are running
Details of the problem
Use the NVIDIA/PGI Fortran compiler with GCC C and C++.
The text was updated successfully, but these errors were encountered: