Skip to content

add search paths to CUPTI in installations of nvidia-compilers with CUDA#4085

Merged
smoors merged 1 commit intoeasybuilders:developfrom
lexming:nvhpc-cupti
Mar 6, 2026
Merged

add search paths to CUPTI in installations of nvidia-compilers with CUDA#4085
smoors merged 1 commit intoeasybuilders:developfrom
lexming:nvhpc-cupti

Conversation

@lexming
Copy link
Copy Markdown
Contributor

@lexming lexming commented Mar 2, 2026

This PR changes CPATH, LD_LIBRARY_PATH and LIBRARY_PATH in the module files of nvidia-compilers as follows:

prepend_path("CPATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "targets", "x86_64-linux", "include"))
+ prepend_path("CPATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "extras", "CUPTI", "include"))
prepend_path("LD_LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "compilers", "lib"))
prepend_path("LD_LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "targets", "x86_64-linux", "lib"))
+ prepend_path("LD_LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "extras", "CUPTI", "lib64"))
prepend_path("LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "compilers", "lib"))
prepend_path("LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "targets", "x86_64-linux", "lib"))
+ prepend_path("LIBRARY_PATH", pathJoin(root, "Linux_x86_64", "25.1", "cuda", "12.6", "extras", "CUPTI", "lib64"))

@lexming lexming added this to the next release (5.2.2?) milestone Mar 2, 2026
@lexming
Copy link
Copy Markdown
Contributor Author

lexming commented Mar 6, 2026

Test report by @lexming

Overview of tested easyconfigs (in order)

  • SUCCESS nvidia-compilers-25.1.eb

Build succeeded for 1 out of 1 (total: 5 mins 37 secs) (1 easyconfigs in total)
node740.hydra.os - Linux Rocky Linux 9.7 (Blue Onyx), x86_64, AMD EPYC 9535 64-Core Processor, Python 3.9.25
See https://gist.github.com/lexming/a511c5f2bb323727067c460b8243c320 for a full test report.

Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Mar 6, 2026

Going in, thanks @lexming!

@smoors smoors merged commit db658b0 into easybuilders:develop Mar 6, 2026
22 checks passed
@lexming lexming deleted the nvhpc-cupti branch March 6, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants