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
Add PAPI 7.0.1 and 7.1.0 #38443
Add PAPI 7.0.1 and 7.1.0 #38443
Conversation
Confirmed working on my dev rig (AMD Zen 2, NVIDIA "Ampere" 8.6, AMD
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There is a failure that seems to be unrelated to this patch, going to restart the pipeline. |
@spackbot run pipeline |
I've started that pipeline for you! |
(specs) papi/jjh2oak 7.0.1 cce@=15.0.1 linux-rhel8-zen4 E4S Cray
|
I have posted an issue on this to papi upstream: icl-utk-edu/papi#24 Do we want to maybe include a patch changing FFLAGS to something reasonable for CCE/FTN to get this going within spack? |
@srekolam @renjithravindrankannath if you inspect the CI failures above, it's a concretization error. I tried to reproduce it using |
@wyphan The upstream only has PAPI 6.x which is almost three years old. I guess there were issues with the LLVM-AMDGPU package that held up this PR. One possibility is to just include PAPI 7.0.1 and 7.1.0 in a single PR and fix the LLVM-AMDGPU in a different set of PRs. |
@naromero77 Yeah that sounds reasonable. I'll try to finalize the PR based on this plan later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Ugh. Looks like the SHA sum for the tarball from ICL website and the one in GitHub release tag are different. Fixed now to use the ICL website's tarball. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I will merge tomorrow if I don't hear back from @G-Ragghianti or the others.
Hi @wyphan, Gitlab CI didn't report this issue with the PR: https://gitlab.spack.io/spack/spack/-/jobs/9653923
Do you wanna take a look at that? |
Notice you don't have to create patch files, you can just set |
Huh, I thought that CCE patch already got merged into the main codebase before the 7.1.0 release, so I only applied it for 7.0.1 in the recipe. |
* Add PAPI 7.0.1 * Add comment about skipping PAPI 7.0.0 * Add patch to avoid adding Intel ifort/ifx flag on Cray ftn * Modify patch to include Cray-specific flags * Adjust recipe to always apply patch for 7.0.1 * Expand Cray compiler checks in patch * Forgot to update recipe * Adjust recipe so it looks for hipcc in the correct path * Revert "Adjust recipe so it looks for hipcc in the correct path" This reverts commit 0db3df4. * Patch HIP_PATH to work with Spack-built HIP * Patch LDFLAGS with llvm-amdgpu path * Forgot the depends_on line * libomptarget only builds with clang * Try a self-consistent build of llvm-amdgpu * Try making llvm-amdgpu depend on llvm for llvmoffloadarch library * Update prereq to use rocm-openmp-extras instead * Refactor llvm-amdgpu to use a version dict * Fix typo * Hack to exclude older versions without matching rocm-openmp-extras * Add PAPI 7.1.0 * Revert changes to llvm-amdgpu * Fix PAPI 7.1.0 checksum
* Add PAPI 7.0.1 * Add comment about skipping PAPI 7.0.0 * Add patch to avoid adding Intel ifort/ifx flag on Cray ftn * Modify patch to include Cray-specific flags * Adjust recipe to always apply patch for 7.0.1 * Expand Cray compiler checks in patch * Forgot to update recipe * Adjust recipe so it looks for hipcc in the correct path * Revert "Adjust recipe so it looks for hipcc in the correct path" This reverts commit 0db3df4. * Patch HIP_PATH to work with Spack-built HIP * Patch LDFLAGS with llvm-amdgpu path * Forgot the depends_on line * libomptarget only builds with clang * Try a self-consistent build of llvm-amdgpu * Try making llvm-amdgpu depend on llvm for llvmoffloadarch library * Update prereq to use rocm-openmp-extras instead * Refactor llvm-amdgpu to use a version dict * Fix typo * Hack to exclude older versions without matching rocm-openmp-extras * Add PAPI 7.1.0 * Revert changes to llvm-amdgpu * Fix PAPI 7.1.0 checksum
Supersedes #33940
SHA256 sum computed manually after verifying the MD5 sum with the one posted at the ICL website.