-
Notifications
You must be signed in to change notification settings - Fork 304
update custom easyblock for CP2K >= v2024 #3433
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
gkaf89
left a comment
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.
Modification relevant, fix CUDA builds. Tested with CP2K 2024.3 with and without CUDA (12.1.1 with gpuver=V100).
| if cp2k_version >= LooseVersion('2024'): | ||
| options['DFLAGS'] += ' -D__OFFLOAD_CUDA -D__DBCSR_ACC ' | ||
| options['LIBS'] += ' -lcufft -lcudart -lnvrtc -lcuda -lcublas' | ||
| options['OFFLOAD_CC'] = 'nvcc' |
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.
The OFFLOAD_CC variable is used in the makefile of CP2K to build files with OpenACC offloading, even in versions older than 2024. For instance 2023.1 fails to build with CUDA support with the old easyblock.
Maybe enable the modification for some versions earlier than 2024 if they are still relevant?
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.
Yeah it can surely be modified, but i have not tested them with old versions, when i test them will definitely modify if required. Thanks!!
|
Tested it on two of the clusters with (gpuver=A100 and gpuver=H100) worked without any issues. |
|
@boegelbot please test @ jsc-zen3 EB_ARGS="CP2K-2023.1-foss-2023a.eb" |
|
@pavelToman: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... - notification for comment with ID 3179512569 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 0 out of 1 (1 easyconfigs in total) |
|
@boegelbot please test @ jsc-zen3 EB_ARGS="CP2K-2023.1-foss-2023a.eb" |
|
@pavelToman: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... - notification for comment with ID 3184071272 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 0 out of 1 (1 easyconfigs in total) |
It never populates INCS with LIBXSMM for CP2K 2023.x -> failed on build |
|
This PR is replaced by: |
Hi, as discussed in Slack, and being based in in these three PRs:
easybuilders/easybuild-easyconfigs#17718
#2349
#2918
I have written easyblock for CP2K, during the compilation of **CP2K-2024.2-foss-2023a-CUDA-12.2.0.eb **. Almost all the tests pass except for around 50 tests of total 4000 tests fail.