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
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
easyblock = 'CMakeMake'
|
|
|
|
name = 'libxc'
|
|
version = '5.1.3'
|
|
|
|
homepage = 'https://www.tddft.org/programs/libxc'
|
|
description = """Libxc is a library of exchange-correlation functionals for density-functional theory.
|
|
The aim is to provide a portable, well tested and reliable set of exchange and correlation functionals."""
|
|
|
|
toolchain = {'name': 'intel', 'version': '2020b'}
|
|
|
|
source_urls = ['https://www.tddft.org/programs/libxc/down.php?file=%(version)s/']
|
|
sources = [SOURCE_TAR_GZ]
|
|
checksums = ['0350defdd6c1b165e4cf19995f590eee6e0b9db95a6b221d28cecec40f4e85cd']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.18.4'),
|
|
('Perl', '5.32.0'),
|
|
]
|
|
|
|
separate_build_dir = True
|
|
|
|
local_common_configopts = "-DENABLE_FORTRAN=ON -DENABLE_FORTRAN03=ON -DENABLE_XHOST=OFF"
|
|
|
|
# perform iterative build to get both static and shared libraries
|
|
configopts = [
|
|
local_common_configopts + ' -DBUILD_SHARED_LIBS=OFF',
|
|
local_common_configopts + ' -DBUILD_SHARED_LIBS=ON',
|
|
]
|
|
|
|
parallel = 1
|
|
|
|
# make sure that built libraries (libxc*.so*) in build directory are picked when running tests
|
|
# this is required when RPATH linking is used
|
|
pretestopts = "export LD_LIBRARY_PATH=%(builddir)s/easybuild_obj:$LD_LIBRARY_PATH && "
|
|
|
|
runtest = 'test'
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/xc-info'] +
|
|
['lib/libxc%s.%s' % (x, y) for x in ['', 'f03', 'f90'] for y in ['a', SHLIB_EXT]],
|
|
'dirs': ['include', 'lib/pkgconfig', 'share/cmake/Libxc'],
|
|
}
|
|
|
|
moduleclass = 'chem'
|