From f39354143517adf8c658f3b28bdacf2f6c11f613 Mon Sep 17 00:00:00 2001 From: obm Date: Fri, 14 Apr 2023 11:26:04 +0300 Subject: [PATCH] CP2K v2023.1 with foss2022a and CUDA. Intended for v2023 compatible cp2k easyblock. Will not work otherwise. --- .../c/CP2K/CP2K-2023.1-cuda-foss-2022a.eb | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 easybuild/easyconfigs/c/CP2K/CP2K-2023.1-cuda-foss-2022a.eb diff --git a/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-cuda-foss-2022a.eb b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-cuda-foss-2022a.eb new file mode 100644 index 000000000000..87995e1c4282 --- /dev/null +++ b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-cuda-foss-2022a.eb @@ -0,0 +1,45 @@ +## +# Author: Robert Mijakovic +# Modified by: O. Baris Malcioglu +## +name = 'CP2K' +version = '2023.1' +versionsuffix = 'CUDA' + +homepage = 'https://www.cp2k.org/' +description = """CP2K is a freely available (GPL) program, written in Fortran 95, to perform atomistic and molecular + simulations of solid state, liquid, molecular and biological systems. It provides a general framework for different + methods such as e.g. density functional theory (DFT) using a mixed Gaussian and plane waves approach (GPW), and + classical pair and many-body potentials. """ + +toolchain = {'name': 'foss', 'version': '2022a'} +toolchainopts = {'pic': True, 'openmp': True} + +source_urls = ['https://github.com/cp2k/cp2k/releases/download/v%(version)s/'] +sources = [SOURCELOWER_TAR_BZ2] +checksums = ['dff343b4a80c3a79363b805429bdb3320d3e1db48e0ff7d20a3dfd1c946a51ce'] + +dependencies = [ + ('Libint', '2.7.2', '-lmax-6-cp2k'), + ('libxc', '5.2.3'), + ('libxsmm', '1.17'), + ('FFTW', '3.3.10'), + ('PLUMED', '2.8.1'), + ('CUDA/11.7.0',EXTERNAL_MODULE), + ('math/ELPA/2022.05.001-foss-2022a-CUDA-11.7.0',EXTERNAL_MODULE), +] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), +] + +type = 'psmp' +v2023 = True +gpuver = 'A100' + +# regression test reports handful of failures, +# we're assuming those are OK to ignore... +ignore_regtest_fails = True +parallel = 1 +moduleclass = 'chem'