icl-utk-edu / papi

Other
116 stars 51 forks source link

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

Open Treece-Burgess opened 3 months ago

Treece-Burgess commented 3 months ago

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 commented 3 months ago

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_*.