-
Notifications
You must be signed in to change notification settings - Fork 843
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
mpifort does not pass -I/usr/include to gfortran #12257
Comments
I found this in the configure log for openmpi-4.1.6:
And for openmpi-5.0.1:
Notice that |
There are 4 wrong variables in config/opal_setup_wrappers.m4:
However, even when I replaced them and rebuilt openmpi-5.0.1, I still get the same behavior from |
It seems that the problem is caused by 5d23e02#diff-98a0024d9e806a84ffa059b82e4b1a6839c957e41dc7d16e692d09723d070bcaR62 which is used in the Omitting @bwbarrett can you comment on this as the author of the commit? |
Background information
What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)
5.0.1
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
Installation from source, using this PKGBUILD for Arch Linux: https://gitlab.archlinux.org/archlinux/packaging/packages/openmpi/-/blob/v5.0/PKGBUILD
Please describe the system on which you are running
Details of the problem
mpif77
,mpif90
andmpifort
do not pass the-I/usr/include
flag togfortran
, which is necessary for findingmpif.h
. Multiple other packages like arpack then fail to configure, becauseinclude 'mpif.h'
in test programs does not work.This output was different with openmpi-4.1.6 on the same system, built with a very similar PKGBUILD:
The text was updated successfully, but these errors were encountered: