mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

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
74 lines
2.3 KiB
Plaintext
74 lines
2.3 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/
|
|
#
|
|
# CHANGELOG
|
|
# see https://github.com/QMCPACK/qmcpack/issues/3967
|
|
# CMake is necessary for the pw2qmcpack
|
|
# w90 is downloaded automatically using git remote+https when using CMake
|
|
# gipaw does not build using CMake
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'QuantumESPRESSO'
|
|
version = '7.0'
|
|
versionsuffix = '-forQMCPACK'
|
|
|
|
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/',
|
|
]
|
|
sources = [
|
|
'qe-%(version)s-forQMCPACK.tar.gz',
|
|
{'filename': 'qe-gipaw-%(version)s.tar.gz', 'download_filename': '%(version)s.tar.gz'},
|
|
]
|
|
checksums = [
|
|
'7d0acd3f4da673de2b8de868ad641fe7feeb9d541ebb923706142bb9205b9915', # qe-%(version)s-forQMCPACK.tar.gz
|
|
'71b83c7ffaf98e111e2cb0b3fe6da0084c07f0f4f9e641046142924568e96802', # qe-gipaw-%(version)s.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
|
|
|
|
# parallel build tends to fail
|
|
parallel = 1
|
|
|
|
moduleclass = 'chem'
|