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

add custom easyblock for Clang-AOMP #2617

Merged
merged 7 commits into from
Dec 10, 2021
Merged

Conversation

nordmoen
Copy link
Contributor

@boegel boegel changed the title Add Clang-AOMP easyblock add custom easyblock for Clang-AOMP Nov 13, 2021
@boegel boegel added the new label Nov 13, 2021
@boegel boegel added this to the next release (4.5.1?) milestone Nov 13, 2021
@easybuilders easybuilders deleted a comment from boegelbot Nov 13, 2021
easybuild/easyblocks/c/clang_aomp.py Outdated Show resolved Hide resolved
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

@nordmoen I've reviewed this in detail, and tweaked it a bit for a variety of reasons, please take a look at nordmoen#4

nordmoen and others added 2 commits December 9, 2021 07:37
fixes, enhancements and code cleanup for custom easyblock for Clang-AOMP
… with --module-only by defining self.cuda_archs in prepare_step
easybuild/easyblocks/c/clang_aomp.py Outdated Show resolved Hide resolved
fix sanity check for Clang-AOMP with CUDA support + full sanity check with --module-only by defining self.cuda_archs in prepare_step
@boegel
Copy link
Member

boegel commented Dec 10, 2021

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS Clang-AOMP-4.5.0-GCCcore-11.2.0-CUDA-11.3.1.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
pg-lab02 - Linux centos linux 8.3.2011, x86_64, AMD EPYC 7542 32-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/f8741c38d5cc293e3cd78b0deed80f37 for a full test report.

@boegel
Copy link
Member

boegel commented Dec 10, 2021

Tested with both easybuilders/easybuild-easyconfigs#14327 and a custom Clang-AOMP easyconfig with CUDA as additional dependency, works as expected, so time to merge.

Thanks a lot for your efforts on this @nordmoen, it's clear that this wasn't exactly trivial...

@boegel boegel merged commit 80c50e0 into easybuilders:develop Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants