mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
# IT4Innovations
|
|
# # LK 2023
|
|
|
|
name = 'QuantumESPRESSO'
|
|
version = '7.1'
|
|
versionsuffix = '-thermo_pw-GPU'
|
|
|
|
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': '2022a'}
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
toolchainopts = {'usempi': True, 'openmp': True, 'optarch': 'march=core-avx2', 'opt': 'O3'}
|
|
local_cuda="12.0.0"
|
|
else:
|
|
toolchainopts = {'usempi': True, 'openmp': True, 'opt': 'O3'}
|
|
local_cuda="11.7.0"
|
|
|
|
source_urls = [
|
|
'https://gitlab.com/QEF/q-e/-/archive/qe-%(version)s',
|
|
]
|
|
sources = [
|
|
{
|
|
'filename': 'q-e-qe-%(version)s.tar.gz',
|
|
'extract_cmd': 'mkdir -p %(builddir)s/qe-%(version)s && tar xzvf %s --strip-components=1 -C $_',
|
|
},
|
|
{
|
|
'filename': 'qe-gipaw-%(version)s.tar.gz',
|
|
'source_urls': ['https://github.com/dceresoli/qe-gipaw/releases/download/%(version)s/']
|
|
},
|
|
{'filename': 'wannier90-3.1.0.tar.gz', 'download_filename': 'v3.1.0.tar.gz',
|
|
'source_urls': ['https://github.com/wannier-developers/wannier90/archive/']
|
|
},
|
|
{
|
|
'filename': 'thermo_pw.1.7.1.tar.gz',
|
|
'source_urls': ['https://github.com/dalcorso/thermo_pw/releases/download/1.7.1/'],
|
|
'extract_cmd': 'cd %(builddir)s/qe-%(version)s && tar xzvf %s && cd thermo_pw && make join_qe',
|
|
},
|
|
]
|
|
checksums = [
|
|
'd56dea096635808843bd5a9be2dee3d1f60407c01dbeeda03f8256a3bcfc4eb6', # q-e-qe-7.1.tar.gz
|
|
'0eee3f613d249ff14e8b891493fe68a3567188575ec7397a8fbe3a97cbf6cb69', # qe-gipaw-7.1.tar.gz
|
|
'40651a9832eb93dec20a8360dd535262c261c34e13c41b6755fa6915c936b254', # wannier90-3.1.0.tar.gz
|
|
'a4fe924ac9306db4608156942af9334679b3c402c70ba82e3f024ce5677d3af0', # thermo_pw.1.7.1.tar.gz
|
|
]
|
|
|
|
builddependencies = [('M4', '1.4.19')]
|
|
|
|
dependencies = [
|
|
('HDF5', '1.12.2'),
|
|
('ELPA', '2021.11.001'),
|
|
('libxc', '5.2.3'),
|
|
('CUDA', local_cuda, '', True)
|
|
]
|
|
|
|
# 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 thermo_pw'
|
|
|
|
# parallel build tends to fail
|
|
parallel = 1
|
|
|
|
moduleclass = 'chem'
|