-
Notifications
You must be signed in to change notification settings - Fork 2
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
New shared compiler specs #15
Comments
Adding most recent info I have from several code projects. |
@davidbeckingsale @adrienbernede I updated the issue that was already here based on our recent DevOps survey of 32 code projects. Note that we will need to add some things to the radiuss spack configs to support these. |
I believe that rocmcc-tce/5.4.1-cce-15.0.0c is really only using "cce" for fortran. So it might be more realistic to use it instead of rocm/5.4.1 if we have any fortran. |
What about cuda 10.1.243? |
I would hope that they would update the default from that. I think all code projects are using 11.x at this point. |
I think all code project can use 11.x at this point, but it doesn't mean that they all are using 11.x. |
@rhornung67 should I use the ibm clang or regular clang on blueos. |
@rhornung67 what’s the cuda version you’d like to run with clang 14? that’s here |
I just had to search to see which xl version was the 2022.08.19. I suggest we move forward with this and name the spec xl@16.1.1.12.2022.08.19. This will be more accurate. |
Fixed: rocm@5.4.2 not yet available on corona |
… + update local specs
Sorry. CUDA 11.7 |
We should probably use ibm clang because that's what code projects use. Unfortunately, ibm clang fails at runtime on RAJA sort tests with OpenMP, while all regular clang versions work. I've reported this issue to LC and IBM, but have not yet been able to generate a reproducer that does not use all of RAJA. We can filter out those tests to make sure everything else is working. |
@rhornung67 I got:
Trying to use clang 12 with cuda 11.2. I need to increase cuda version to 11.5. |
Sorry. My mistake transcribing information from my notes to this issue. Please do clang 12 + CUDA 11.5. Clang 12 works with CUDA 10.1.243, correct? That is what some code projects reported using. |
In fact, there was an error in my file, and the actual cuda used was 10.1.243... |
My understanding is that we're on cuda 10.1 with clang 12 and trying to move to cuda 11.1 or 11.2 but we can't move past that due to compatibility issues with other software. |
@MrBurmark, I can try 11.2, but from the error message above, Spack won’t let me. |
(I’m not saying any of those is wrong, I’m just trying to see the bigger picture) |
Idem with clang@14. cuda in Spack requires a version strictly greater than 11.7.
|
I’ll take a pragmatic approach and activate "allow-unsupported-compilers" for now. |
I've been told by multiple users that they are building with clang14 + cuda 11.7. None of our integrated apps that have a Fortran package can use CUDA greater than 11.7 due to incompatibility between OpenMP and CUDA runtimes. What does the allow-unsupported-compilers thing do? I just built RAJA manually and ran all its tests with clang/13.0.1-gcc-8.3.1 + cuda/11.7.0. Let's go with that. We may be able to use clang/14.0.5 by manually setting the gcc toolchain to 8.3.1, but I haven't tried. |
In the Spack Cuda "build system" (not package) you’ll find all the compiler conflicts. That’s in |
In the end, that’s not too big of a deal: Since that’s what users need, and this option allows it, I’ll go for it. |
If it doesn't work, we can fall back to clang/13.0.1-gcc-8.3.1 + cuda/11.7.0. I know that works. |
I find my mistake: I needed to both set the external cuda with |
This is because that variant is "sticky": |
@rhornung67 I needed to add gcc toolchain to the following specs for Umpire:
|
Renew CI specs per LLNL/radiuss-shared-ci#15
TOSS3 -> Now TOSS4 (ruby)
Before:
-> Now:
TOSS4 (corona)
TOSS4 Cray (EAS3)
blueos
The text was updated successfully, but these errors were encountered: