File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 4949
5050# # Set the cuda component or the nvml component environment variable
5151if [ " $COMPONENT " = " cuda" ] || [ " $COMPONENT " = " nvml" ]; then
52+ module unload glibc
5253 export MODULEPATH=$MODULEPATH :/apps/spacks/cuda/share/spack/modules/linux-rocky9-skylake_avx512/
5354 module load cuda/12.8.0
5455 export PAPI_CUDA_ROOT=$ICL_CUDA_ROOT
56+ export LD_LIBRARY_PATH=$PAPI_CUDA_ROOT /lib64:$PAPI_CUDA_ROOT /extras/CUPTI/lib64:$LD_LIBRARY_PATH
5557fi
5658
5759# --- Configure and Build PAPI ---
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ case "$COMPONENTS" in
4848 export MODULEPATH=$MODULEPATH :/apps/spacks/cuda/share/spack/modules/linux-rocky9-skylake_avx512/
4949 module load cuda/12.8.0
5050 export PAPI_CUDA_ROOT=$ICL_CUDA_ROOT
51+ export LD_LIBRARY_PATH=$PAPI_CUDA_ROOT /lib64:$PAPI_CUDA_ROOT /extras/CUPTI/lib64:$LD_LIBRARY_PATH
5152 ;;
5253esac
5354
You can’t perform that action at this time.
0 commit comments