easyconfigs-it4i/q/QuantumESPRESSO/QuantumESPRESSO-7.0-intel-2020b-test.eb
Lukas Krupcik cbd3329146 modified: d/Dakota/Dakota-6.15.0-foss-2021b.eb
modified:   d/Dakota/Dakota-6.15.0-intel-2021b.eb
	new file:   e/Extrae/Extrae-3.8.3-gompi-2021a.eb
	new file:   f/FoX/FoX-4.1.2-intel-2020b.eb
	new file:   g/GROMACS/GROMACS-2022-fosscuda-2020b.eb
	new file:   h/HDF5/HDF5-1.10.7-gompi-2021a.eb
	new file:   l/libxc/libxc-5.1.3-intel-2020b.eb
	new file:   p/PLUMED/PLUMED-2.8.0-fosscuda-2020b.eb
	modified:   p/Paraver/Paraver-4.10.0-foss-2021a.eb
	new file:   q/QMCPACK/QMCPACK-3.14.0-foss-2021a-Python-3.9.5.eb
	new file:   q/QMCPACK/QMCPACK-3.14.0-intel-2020b-Python-3.8.6-test.eb
	new file:   q/QMCPACK/QMCPACK-3.14.0-intel-2020b-Python-3.8.6.eb
	new file:   q/QuantumESPRESSO/QuantumESPRESSO-7.0-intel-2020b-forQMCPACK.eb
	new file:   q/QuantumESPRESSO/QuantumESPRESSO-7.0-intel-2020b-test.eb
	new file:   q/QuantumESPRESSO/QuantumESPRESSO-intel-2020b-forQMCPACK-fix-UtilXlib-Makefile-tab.patch
	new file:   s/SDE/SDE-9.0.0.eb
2022-05-05 10:20:31 +02:00

73 lines
2.5 KiB
Plaintext

# JK 2022
# to get the source code, clone
# https://github.com/QMCPACK/qmcpack.git
# and run the appropriate download and patch script from
# qmcpack/external_codes/quantum_espresso/
# CMake is necessary for the pw2qmcpack
#
# This test build is to check if w90 is natural part of CMake QE build
easyblock = 'CMakeMake'
name = 'QuantumESPRESSO'
version = '7.0'
versionsuffix = '-test'
homepage = 'https://www.quantum-espresso.org'
description = """Quantum ESPRESSO is an integrated suite of computer codes
for electronic-structure calculations and materials modeling at the nanoscale.
It is based on density-functional theory, plane waves, and pseudopotentials
(both norm-conserving and ultrasoft).
"""
toolchain = {'name': 'intel', 'version': '2020b'}
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
toolchainopts = {'usempi': True, 'openmp': True, 'optarch': 'march=core-avx2'}
else:
toolchainopts = {'usempi': True, 'openmp': True}
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
prebuildopts = "echo %(builddir)s && while read i; do echo $i; sed 's|-xHost|-march=core-avx2|g' -i $i; done < <(grep xHost %(builddir)s -R | cut -d ':' -f 1 | sort -u) && "
#source_urls = [
# 'https://github.com/dceresoli/qe-gipaw/archive/',
# 'https://github.com/wannier-developers/wannier90/archive/'
#]
sources = [
'qe-%(version)s-forQMCPACK.tar.gz',
# {'filename': 'qe-gipaw-%(version)s.tar.gz', 'download_filename': '%(version)s.tar.gz'},
# {'filename': 'wannier90-3.1.0.tar.gz', 'download_filename': 'v3.1.0.tar.gz'},
]
checksums = [
'7d0acd3f4da673de2b8de868ad641fe7feeb9d541ebb923706142bb9205b9915', # qe-%(version)s-forQMCPACK.tar.gz
# '71b83c7ffaf98e111e2cb0b3fe6da0084c07f0f4f9e641046142924568e96802', # qe-gipaw-%(version)s.tar.gz
# '40651a9832eb93dec20a8360dd535262c261c34e13c41b6755fa6915c936b254', # wannier90-3.1.0.tar.gz
]
patches = ['QuantumESPRESSO-intel-2020b-forQMCPACK-fix-UtilXlib-Makefile-tab.patch']
builddependencies = [
('git', '2.33.1', '-nodocs', ('GCCcore', '11.2.0')),
('CMake', '3.20.1'),
]
dependencies = [
('HDF5', '1.10.7'),
('ELPA', '2020.11.001'),
('libxc', '5.1.3'),
]
# explicitely enable pw2qmcpack
configopts = ' -DQE_ENABLE_PW2QMCPACK=ON '
# The third party packages should be installed separately and added as
# dependencies. The exception is w90, which is force built, and gipaw
# which depends on qe source
buildopts = 'all gwl xspectra couple epw' # gipaw w90
# parallel build tends to fail
parallel = 1
moduleclass = 'chem'