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

set $NVHPC_CUDA_HOME for NVHPC 22.7+ #2776

Merged

Conversation

SebastianAchilles
Copy link
Member

(created using eb --new-pr)

NVHPC 22.7+ requires NVHPC_CUDA_HOME for external CUDA. CUDA_HOME has been deprecated.

$ nvc -v
nvc-Warning-CUDA_HOME has been deprecated. Please, use NVHPC_CUDA_HOME instead.
Export NVCOMPILER=/p/project/cexalab/easybuild/juwelsbooster/software/NVHPC/22.7/Linux_x86_64/22.7
Export PGI=/p/project/cexalab/easybuild/juwelsbooster/software/NVHPC/22.7
nvc-Warning-No files to process

$ NVHPC_CUDA_HOME=$CUDA_HOME nvc -v
Export NVCOMPILER=/p/project/cexalab/easybuild/juwelsbooster/software/NVHPC/22.7/Linux_x86_64/22.7
Export PGI=/p/project/cexalab/easybuild/juwelsbooster/software/NVHPC/22.7
nvc-Warning-No files to process

CC: @AndiH

Copy link
Member

@branfosj branfosj left a comment

Choose a reason for hiding this comment

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

lgtm

@branfosj
Copy link
Member

Test report by @branfosj

Overview of tested easyconfigs (in order)

  • SUCCESS NVHPC-22.3-CUDA-11.4.1.eb
  • SUCCESS NVHPC-22.7-CUDA-11.4.1.eb

Build succeeded for 2 out of 2 (2 easyconfigs in total)
bear-pg0103u01a.bear.cluster - Linux RHEL 8.6, x86_64, Intel(R) Xeon(R) Gold 6330 CPU @ 2.00GHz (icelake), 1 x NVIDIA NVIDIA A100-PCIE-40GB, 470.57.02, Python 3.6.8
See https://gist.github.com/ef63e6168dc297b22e0fe245876b9017 for a full test report.

@branfosj
Copy link
Member

Going in, thanks @SebastianAchilles!

@branfosj branfosj merged commit 5aafaec into easybuilders:develop Aug 19, 2022
@branfosj branfosj modified the milestones: 4.x, next release (4.6.1?) Aug 19, 2022
@boegel boegel changed the title Set NVHPC_CUDA_HOME for NVHPC 22.7+ set $NVHPC_CUDA_HOME for NVHPC 22.7+ Aug 25, 2022
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