3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00
dft_tools/packaging/TRIQS-dft_tools-foss-2021b.eb.in
2024-05-07 19:40:46 -04:00

71 lines
2.2 KiB
Plaintext

easyblock = 'CMakeMake'
name = 'TRIQS-dft_tools'
version = '@PROJECT_VERSION@'
homepage = 'https://triqs.github.io/dft_tools/'
description = """
TRIQS (Toolbox for Research on Interacting Quantum Systems) is a
scientific project providing a set of C++ and Python libraries to
develop new tools for the study of interacting quantum systems.
This TRIQS-based-based application is aimed at ab-initio calculations
for correlated materials, combining realistic DFT band-structure calculation
with the dynamical mean-field theory. Together with the necessary tools to
perform the DMFT self-consistency loop for realistic multi-band problems,
the package provides a full-fledged charge self-consistent interface to the
Wien2K package. In addition, if Wien2k is not available, it provides a generic
interface for one-shot DFT+DMFT calculations, where only the single-particle
Hamiltonian in orbital space has to be provided.
"""
docurls = ['https://triqs.github.io/dft_tools/%(version_major_minor)s.x/']
software_license = 'LicenseGPLv3'
toolchain = {'name': 'foss', 'version': '2021b'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = ['https://github.com/TRIQS/dft_tools/releases/download/%(version)s/']
sources = ['dft_tools-%(version)s.tar.gz']
checksums = ['PUT HERE THE SHA256 OF THE RELEASE TARBALL']
dependencies = [
('Python', '3.9.6'),
('SciPy-bundle', '2021.10'),
('Boost', '1.77.0'),
('Clang', '13.0.1'),
('Clang-Python-bindings', '13.0.1'),
('GMP', '6.2.1'),
('HDF5', '1.10.7'),
('Mako', '1.1.4'),
('TRIQS', '3.2.0'),
]
builddependencies = [
('CMake', '3.22.1')
]
separate_build_dir = True
runtest = 'test'
sanity_check_paths = {
'files': ['bin/dmftproj', 'lib/libtriqs_dft_tools_c.a'],
'dirs': ['include/triqs_dft_tools', 'bin', 'lib', 'share',
'lib/python%(pyshortver)s/site-packages/triqs_dft_tools'],
}
sanity_check_commands = ["python -c 'import triqs_dft_tools'"]
modextrapaths = {
'CPLUS_INCLUDE_PATH': 'include',
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
'CMAKE_PREFIX_PATH': 'lib/cmake/triqs_dft_tools',
}
modextravars = {
'TRIQS_DFT_TOOLS_ROOT': '%(installdir)s',
'TRIQS_DFT_TOOLS_VERSION': '%(version)s',
}
moduleclass = 'phys'