-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
figure out if we need to exclude the gcc9 builds for cuda <=10.2 #68
Comments
Answer is yes. CUDA 9.2, which is the CUDA version we used to compile for the CUDA-awareness support, only supports up to GCC 7 (?) I think. |
The problem less clear to me is if this would work for CUDA 11, which requires a different glibc version. |
Thanks @leofang ! See also the comments from conda-forge/conda-forge.github.io#1160 (comment) by @kkraus14. they seem to indicate that if openmpi is only looking at CUDA host APIs there is not an issue. |
With CUDA 11.0, the |
@jakirkham But do we get the same constraint if we build |
No because that constraint is only added when building for CUDA 11.0. Otherwise we still use the default GLIBC currently 2.12. |
so what is the conclusion here? Do we understand enough about how openmpi is using CUDA to say if the current builds are ok? |
I'm definitely not confident, but based on the build script it looks like only gcc / g++ are being used or configured: https://github.com/conda-forge/openmpi-feedstock/blob/master/recipe/build-mpi.sh |
After digging back through things here, I think we came to the conclusion that xref: open-mpi/ompi#7334 |
Yeah, IIRC at build time we don't need I am just a bit worried that when we specify openmpi-feedstock/recipe/meta.yaml Line 16 in 5106c44
we don't enforce to use the latest glibc, and when we do conda install -c conda-forge openmpi cudatoolkit=11.0 we might have problems.
|
Well GLIBC is backwards compatible. So libraries built with an older GLIBC can always be installed on a system with a newer GLIBC. IOW one can install Should add So I guess the question is can one configure a system using CentOS 6 that has a new enough driver version to support CUDA 11.0? I would think the answer is no as the associated libraries would also require GLIBC 2.17+ |
Sounds good, so looks like I think this issue can be closed, then? The current status is:
|
With conda-forge/conda-forge-pinning-feedstock#1052 all CUDA builds (9.2 - 11.0) currently fall back to gcc 7. |
cc @jakirkham
The text was updated successfully, but these errors were encountered: