CP2K/2023.2-cpeGNU-22.12-CPU (CP2K-2023.2-cpeGNU-22.12-CPU.eb)
This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/c/CP2K/CP2K-2023.2-cpeGNU-22.12-CPU.eb. The corresponding module would be CP2K/2023.2-cpeGNU-22.12-CPU.
# contributed by Luca Marsella (CSCS)
# modified for LUMI-G by Peter Larsson
easyblock = 'MakeCp'
name = 'CP2K'
version = '2023.2'
versionsuffix = '-CPU'
homepage = 'http://www.cp2k.org/'
whatis = [
'Description: CP2K is a program to perform atomistic and molecular simulations of solid state, liquid, molecular and biological systems.'
]
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': 'cpeGNU', 'version': '22.12'}
toolchainopts = {'openmp': True, 'usempi': True}
source_urls = ['https://github.com/%(namelower)s/%(namelower)s/releases/download/v%(version)s']
sources = [SOURCELOWER_TAR_BZ2]
patches = [
('LUMIC-20232.psmp', '%(builddir)s/%(namelower)s-%(version)s/arch')
]
builddependencies = [('buildtools', '%(toolchain_version)s', '', True)]
dependencies = [
('ELPA', '2022.11.001','-CPU'),
('Libint-CP2K', '2.6.0'),
('libvori', '220621'),
('libxc', '6.2.2'),
('libxsmm', '1.17'),
('spglib', '1.16.3'),
('cray-fftw', EXTERNAL_MODULE),
('cray-hdf5', EXTERNAL_MODULE),
('COSMA','2.6.6','-CPU'),
('GSL','2.7.1','-OpenMP'),
('PLUMED','2.8.3','-noPython')
]
# build type
#prebuildopts = 'module load craype-accel-amd-gfx90a && module load rocm/5.3.3 && '
buildopts = "ARCH=LUMIC-20232 VERSION=psmp"
files_to_copy = [
(['./arch/LUMIC-20232.psmp'], 'arch'),
(['./exe/LUMIC-20232/*'], 'bin'),
(['./data'], '.'),
(['./tests'], '.'),
(['./tools'], '.')
]
sanity_check_paths = {
'files': ['arch/LUMIC-20232.psmp', 'bin/%(namelower)s.psmp'],
'dirs': ['data', 'tests'],
}
parallel = 16
# set custom CP2K_DATA_DIR
modextravars = {'CP2K_DATA_DIR': '%(installdir)s/data'}
moduleclass = 'chem'