-
Notifications
You must be signed in to change notification settings - Fork 705
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
OpenMPI-4.0.3-GCC-9.3.0 compilation error on rhel 7 #11939
Comments
@golivag The problem seems to be with the configopts = "--without-ofi" |
I've also hit this issue. Installing libnl3-devel also prevented libfabric from linking with libnl v1, solving my issue building openmpi. |
Let's re-open this and see if we can change something in the Any suggestions @Micket? |
I had neither nl1 nor nl3 devel packages installed, and somehow my libfabric builds v3 support. I don't know anything about this package at all. |
I've done some poking and found: OpenMPI fails if it finds a mix of libnl v1 and v3 in the items it is compiling against, as this is known to cause issues. See open-mpi/ompi#3989 - OpenMPI is following the 'fail early' approach. I also have neither the nl1 nor nl3 devel pacakges installed (this is on CentOS 7). The relevant section in my build of libfabric shows:
I.e. libfabric directly compiles against neither nl1 nor nl3 - as we'd expect due to the lack of devel packages. However,
I.e. my |
If you hit this issues, there are three possible solutions:
|
Personally, I like Option 3. usNIC is probably niche anyway (at least I hadn't head about it until today). In the easyconfig we can leave a comment similar to
Actually, we'd have to tweak the easyblock to disable the option by default so we can add the OS dependency check there. |
Hopefully fixed in #12854 , @golivag can you check (rebuild libfabric from that PR and then reattempt the install)? Actually it is enough just to do |
I'm trying to build OpenMPI-4.0.3-GCC-9.3.0 on red hat enterprise linux 7 for power (ppc64le), but it fails and I get the following error in the log fie:
configure: WARNING: Unfortunately, libfabric links to both libnl and libnl-3.
configure: WARNING: This is a configuration that is known to cause run-time crashes.
configure: WARNING: This is an error in libfabric (not Open MPI).
configure: WARNING: Open MPI will therefore skip using libfabric.
configure: WARNING: OFI libfabric support requested (via --with-ofi or --with-libfabric), but not found.
configure: error: Cannot continue.
I am grateful for any clue.
The text was updated successfully, but these errors were encountered: