# JK 2022 name = 'QuantumESPRESSO' version = '7.0' 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': '2021a'} 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/QEF/q-e/releases/download/qe-%(version)s.0/', 'https://github.com/dceresoli/qe-gipaw/archive/', 'https://github.com/wannier-developers/wannier90/archive/' ] sources = [ 'qe-%(version)s-ReleasePack.tgz', {'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 = [ '268ec506f88c56ba4e9b691c1e81e33a6ad7949f857f1c6c32197f9c2af2a957', # qe-%(version)s-ReleasePack.tgz '71b83c7ffaf98e111e2cb0b3fe6da0084c07f0f4f9e641046142924568e96802', # qe-gipaw-%(version)s.tar.gz '40651a9832eb93dec20a8360dd535262c261c34e13c41b6755fa6915c936b254', # wannier90-3.1.0.tar.gz ] dependencies = [ ('HDF5', '1.10.7'), ('ELPA', '2021.05.001'), ('libxc', '5.1.5'), ] # 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'