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

new file: a/Autoconf/Autoconf-2.71-foss-2022b.eb new file: a/Automake/Automake-1.15.eb new file: a/Automake/Automake-1.16.eb new file: a/Autotools/Autotools-20180311-foss-2022b.eb new file: b/Boost/Boost-1.77.0-foss-2022b.eb new file: c/CMake/CMake-3.20.1-foss-2022b.eb new file: c/cURL/cURL-7.76.0-foss-2022b.eb new file: f/Firefox/Firefox-127.0.1.eb modified: f/Firefox/Firefox-44.0.2.eb new file: g/GCC/GCC-13.2.0-foss-2022b.eb new file: g/GCCcore/GCCcore-13.2.0-foss-2022b.eb modified: g/GMP/GMP-6.1.2.eb new file: h/HDF5/HDF5-1.14.0-iimpi-2023a.eb new file: j/JupyterLab/JupyterLab-4.2.0-GCCcore-13.2.0.eb new file: j/jupyter-server/jupyter-server-2.14.0-GCCcore-13.2.0.eb modified: l/libffi/libffi-3.2.1.eb modified: l/libreadline/libreadline-8.0.eb new file: l/libxc/libxc-6.2.2-NVHPC-24.3-CUDA-12.3.0.eb new file: n/ncurses/ncurses-6.2-foss-2022b.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b-Python-3.10.8.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b-Python-3.9.9.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b.eb new file: p/Python/Python-3.11.5-foss-2022b.eb new file: p/Python/Python-3.9.9.eb modified: s/SQLite/SQLite-3.27.2.eb modified: t/Tcl/Tcl-8.6.9.eb new file: t/TurboVNC/TurboVNC-3.1.1-GCCcore-13.2.0.eb new file: z/zlib/zlib-1.2.10-foss-2022b.eb new file: z/zlib/zlib-1.2.11-foss-2022b.eb
72 lines
2.5 KiB
Plaintext
72 lines
2.5 KiB
Plaintext
# IT4Innovations
|
|
# LK 2024
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'QuantumESPRESSO'
|
|
version = '7.3.1'
|
|
|
|
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': 'NVHPC', 'version': '24.3-CUDA-12.3.0'}
|
|
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
toolchainopts = {'pic': True, 'optarch': 'march=core-avx2'}
|
|
else:
|
|
toolchainopts = {'pic': 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/QEF/q-e/releases/download/qe-%(version)s.0/',
|
|
'https://github.com/dceresoli/qe-gipaw/archive/',
|
|
'https://github.com/wannier-developers/wannier90/archive/',
|
|
'https://github.com/QEF/q-e/archive/refs/tags/'
|
|
]
|
|
sources = [
|
|
'qe-%(version)s.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 = [
|
|
'2c58b8fadfe4177de5a8b69eba447db5e623420b070dea6fd26c1533b081d844', # qe-%(version)s.tar.gz
|
|
'2dee75ecf7d0f4c65047b7ef6a8af54f091cc4cf63e764a1f039ead087f2a3e8', # qe-gipaw-%(version)s.tar.gz
|
|
'40651a9832eb93dec20a8360dd535262c261c34e13c41b6755fa6915c936b254', # wannier90-3.1.0.tar.gz
|
|
]
|
|
|
|
dependencies = [
|
|
('HDF5', '1.14.3'),
|
|
('libxc', '6.2.2'),
|
|
('FFTW', '3.3.10'),
|
|
('OpenMPI', '4.1.6'),
|
|
('CMake', '3.24.3', '', ('GCCcore', '12.2.0')),
|
|
]
|
|
|
|
# config
|
|
configopts = 'FC=pgfortran F77=pgfortran F90=pgfortran CC=pgcc CXX=pgc++ '
|
|
configopts += '-DQE_ENABLE_CUDA=ON -DQE_ENABLE_MPI_GPU_AWARE=ON '
|
|
configopts += '-DNVFORTRAN_CUDA_VERSION=12.3 '
|
|
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
configopts += '-DNVFORTRAN_CUDA_CC=80 '
|
|
elif os.environ.get("CLUSTERNAME") in ["BARBORA"]:
|
|
configopts += '-DNVFORTRAN_CUDA_CC=70 '
|
|
|
|
# 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 w90'
|
|
|
|
# parallel build tends to fail
|
|
parallel = 1
|
|
|
|
moduleclass = 'chem'
|