Skip to content

add get_cuda_cc_template_value method to EasyConfig class#3807

Merged
branfosj merged 4 commits intoeasybuilders:developfrom
boegel:get_cuda_cc_template_value
Aug 22, 2021
Merged

add get_cuda_cc_template_value method to EasyConfig class#3807
branfosj merged 4 commits intoeasybuilders:developfrom
boegel:get_cuda_cc_template_value

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Aug 20, 2021

This comes in useful in easyblocks for GPU-capable software like TensorFlow and jaxlib, since it results in a clean error message when neither --cuda-compute-capabilities (EasyBuild configuration option) nor cuda_compute_capabilities (easyconfig parameter) are defined.

See also the discussion at https://github.com/easybuilders/easybuild-easyblocks/pull/2545/files#r691193863

Comment thread easybuild/framework/easyconfig/easyconfig.py Outdated
Comment thread easybuild/framework/easyconfig/easyconfig.py Outdated
Comment thread easybuild/framework/easyconfig/easyconfig.py Outdated
@boegel boegel force-pushed the get_cuda_cc_template_value branch from a3b8501 to f9db177 Compare August 21, 2021 11:51
@easybuilders easybuilders deleted a comment from boegelbot Aug 21, 2021
Copy link
Copy Markdown
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 branfosj merged commit 0047019 into easybuilders:develop Aug 22, 2021
@boegel boegel deleted the get_cuda_cc_template_value branch August 22, 2021 09:27
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.

3 participants