Skip to content
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

Error When Building PAPI with the Cuda Component with Cuda Version 12.6 #225

Open
Treece-Burgess opened this issue Aug 29, 2024 · 5 comments
Assignees
Labels
component-cuda PRs and Issues related to the cuda component type-bug Issues discussing bugs or PRs fixing bugs

Comments

@Treece-Burgess
Copy link
Contributor

Building PAPI with the Cuda component with Cuda version 12.6 will result in an unsuccessful build. Please see the attached file for the errors that occurred.

To recreate:

module load cuda/12.6.0
export PAPI_CUDA_ROOT=$CUDA_HOME
./configure --prefix=$PWD/test-install --with-components="cuda"
make

Note: Building PAPI with the Cuda component with Cuda version 12.5 results in a successful build.

papi_build_errors_with_cuda_126.txt

@Treece-Burgess Treece-Burgess self-assigned this Aug 29, 2024
@Treece-Burgess Treece-Burgess added the type-bug Issues discussing bugs or PRs fixing bugs label Aug 29, 2024
@Treece-Burgess
Copy link
Contributor Author

Treece-Burgess commented Aug 29, 2024

Our internal workflow relies on the struct NVPA_MetricsContext and related APIs (NVPW_MetricsContext_* ). However, as of the release of Cuda version 12.6; this API has been removed from the header files.

In its place is the struct NVPW_MetricsEvaluator and related APIs NVPW_MetricsEvaluator_*.

@Treece-Burgess Treece-Burgess added the component-cuda PRs and Issues related to the cuda component label Dec 19, 2024
@bertwesarg
Copy link
Contributor

bertwesarg commented Jan 15, 2025

@Treece-Burgess
Copy link
Contributor Author

This also affects the Score-P project: https://gitlab.com/score-p/containers/-/blob/ae410071fc394d05f45ce4f1f909fc77ba8d78c6/Dockerfile#L320

Hello @bertwesarg, I clicked on the link you provided, but I am met with "404: Page Not Found".

@bertwesarg
Copy link
Contributor

sorry, that repo is not yet public. will check if I can make it public. it basically points to our Dockerfile where we build PAPI for the different compiler toolchains and for CUDA I need to disable the components right now because of this issue

@bertwesarg
Copy link
Contributor

Its now public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-cuda PRs and Issues related to the cuda component type-bug Issues discussing bugs or PRs fixing bugs
Projects
None yet
Development

No branches or pull requests

2 participants