easyconfigs-it4i/l/libxc/libxc-4.3.4-intel-2020a.eb
Lukáš Krupčík c1fff69173 new file: a/attrs/attrs-19.3.0-Py-3.7.eb
new file:   b/BAGEL/BAGEL-1.2.2-intel-2020a.eb
	new file:   b/Boost/Boost-1.72.0-intel-2020a.eb
	new file:   c/Cython/Cython-0.29.14-Py-system.eb
	new file:   l/libxc/libxc-4.3.4-intel-2020a.eb
	new file:   n/numpy/numpy-1.15.4-Py-system.eb
	new file:   o/ORCA/ORCA-4.1.1-OpenMPI-3.1.3.eb
	new file:   o/OpenMPI/OpenMPI-3.1.3-GCCcore-8.3.0.eb
	new file:   p/Py/Py-system.eb
	new file:   p/pandas/pandas-1.0.0-Py-3.7.eb
	new file:   p/pluggy/pluggy-0.13.1-Py-3.7.eb
	new file:   p/pytest/pytest-5.3.5-Py-3.7.eb
	new file:   p/python-dateutil/python-dateutil-2.8.1-Py-3.7.eb
	new file:   p/pytz/pytz-2019.3-Py-3.7.eb
	new file:   r/ReFrame/ReFrame-2.21-Py-3.7.eb
	new file:   s/six/six-1.14.0-Py-3.7.eb
2020-02-05 08:44:31 +01:00

51 lines
1.6 KiB
Plaintext

# IT4Innovations 2020
easyblock = 'CMakeMake'
name = 'libxc'
version = '4.3.4'
homepage = 'http://www.tddft.org/programs/octopus/wiki/index.php/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': '2020a'}
source_urls = ['http://www.tddft.org/programs/libxc/down.php?file=4.3.4/']
sources = ['libxc-4.3.4.tar.gz']
patches = [
#'libxc-%(version)s_rename-F03.patch',
'libxc-%(version)s.patch'
]
builddependencies = [
('CMake', '3.16.2', '', True),
('Perl', '5.30.0', '', ('GCCcore', '8.3.0')),
]
separate_build_dir = True
# rename *.F03 source file since Intel Fortran local_compiler doesn't like that extension
# also requires patch file to rename file in CMakeLists.txt and src/Makefile.in
preconfigopts = "mv ../libxc-%(version)s/src/libxc_master.F03 ../libxc-%(version)s/src/libxc_master_F03.F90 && "
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
runtest = 'test'
sanity_check_paths = {
'files': ['bin/xc-info', 'bin/xc-threshold'] +
['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'