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

modified: o/OpenMPI/OpenMPI-4.1.4-NVHPC-22.7-CUDA-11.7.0.eb new file: o/OpenMPI/OpenMPI-4.1.4-NVHPC-22.7-CUDA-11.7.0.eb.1 new file: q/QuantumESPRESSO/QuantumESPRESSO-7.1-intel-2022a-thermo_pw-GPU.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-7.1-intel-2022a-thermo_pw.eb modified: w/WIEN2k/WIEN2k-23.2-intel-2022a.eb
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
# IT4Innovations
|
|
# lk 2023
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'libxc'
|
|
version = '5.1.2'
|
|
|
|
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': '2022a'}
|
|
|
|
source_urls = ['https://www.tddft.org/programs/libxc/down.php?file=%(version)s/']
|
|
sources = [SOURCE_TAR_GZ]
|
|
checksums = ['180d52b5552921d1fac8a10869dd30708c0fb41dc202a3bbee0e36f43872718a']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.23.1'),
|
|
('Perl', '5.34.1'),
|
|
]
|
|
|
|
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'
|