-
Notifications
You must be signed in to change notification settings - Fork 42
[WIP] Fix Caliper cuda-activity-profile cupti profiling error
#1126
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
base: develop
Are you sure you want to change the base?
Conversation
|
|
||
| # Create a post-project include that runs after languages are enabled | ||
| after = join_path(self.stage.source_path, "force_cupti_after.cmake") | ||
| with open(after, "w") as f: | ||
| f.write( | ||
| "cmake_policy(SET CMP0074 NEW)\n" | ||
| "find_package(CUDAToolkit REQUIRED COMPONENTS cupti)\n" | ||
| ) | ||
|
|
||
| # Use CMAKE_PROJECT_INCLUDE (not TOP_LEVEL) so it runs after project() | ||
| options.append(f"-DCMAKE_PROJECT_INCLUDE={after}") | ||
|
|
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.
This should be upstreamed to rajaperf cmakelists Nevermind, I got a similar issue with kripke, so this is a caliper issue
| { | ||
| "spec": f"cufft@{cuda_version}", | ||
| "prefix": f"/usr/tce/packages/cuda/cuda-{cuda_version}", | ||
| "prefix": f"/collab/usr/global/tools/nvidia/nvhpc/toss_4_x86_64_ib/nvhpc-25.1/Linux_x86_64/25.1/compilers/", |
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.
This change does not work, maybe need to point at /collab/usr/global/tools/nvidia/nvhpc/toss_4_x86_64_ib/nvhpc-25.1/Linux_x86_64/25.1/math_libs/12.6/include/? or the issue is there are needed libraries in both dirs (nvhpc dir structure different from cuda).
|
Not necessary for milestone since specific to cuda-activity-profile config, which we do not run in the tutorial |
Description
Adding/modifying a system (docs: Adding a System)
systems/system_name/system.pyfilesystems/all_hardware_descriptions/hardware_name/hardware_description.yamlwhich will appear in the docs catalogueAdding/modifying a benchmark (docs: Adding a Benchmark)
repo/benchmark_name/package.pyplus: create, self-assign, and link here a follow up issue with a link to the PR in the Spack repo.repo/benchmark_name/application.pyplus: create, self-assign, and link here a follow up issue with a link to the PR in the Ramble repo.application.pyor inrepo/benchmark_name/application.pywill appear in the docs catalogueexperiments/benchmark_name/experiment.pyto define an experimentAdding/modifying core functionality, CI, or documentation:
.github/workflowsand.gitlab/testsunit tests (if needed)