easyconfigs-it4i/l/libxc/libxc-4.3.4-intel-2017c.eb
Lukáš Krupčík dadd664a5e new file: i/icc/icc-2018.5.274-GCC-8.3.0-2.32.eb
new file:   i/icc/icc-2019.5.281-GCC-8.3.0-2.32.eb
	new file:   i/iccifort/iccifort-2018.5.274-GCC-8.3.0-2.32.eb
	new file:   i/iccifort/iccifort-2019.5.281-GCC-8.3.0-2.32.eb
	new file:   i/ifort/ifort-2018.5.274-GCC-8.3.0-2.32.eb
	new file:   i/ifort/ifort-2019.5.281-GCC-8.3.0-2.32.eb
	modified:   i/iimpi/iimpi-2018a.eb
	modified:   i/iimpi/iimpi-2019a.eb
	new file:   i/imkl/imkl-2018.4.274-iimpi-2018a.eb
	new file:   i/imkl/imkl-2019.5.281-iimpi-2019a.eb
	new file:   i/impi/impi-2018.4.274-iccifort-2018.5.274-GCC-8.3.0-2.32.eb
	new file:   i/impi/impi-2019.6.288-iccifort-2019.5.281-GCC-8.3.0-2.32.eb
	modified:   i/intel/intel-2018a.eb
	modified:   i/intel/intel-2019a.eb
	modified:   l/libxc/libxc-4.3.4-intel-2017c.eb
	modified:   p/Py/Py-2.7.eb
	modified:   p/Py/Py-3.6.eb
	new file:   p/Python/Python-2.7.17-GCC-8.3.0-2.32-base.eb
	new file:   p/Python/Python-3.6.9-GCC-8.3.0-2.32-base.eb
	new file:   v/VTune/VTune-2019_update8.eb
2019-12-04 09:08:34 +01:00

48 lines
1.5 KiB
Plaintext

# IT4Innovations 2019
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': '2017c'}
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']
builddependencies = [
('CMake', '3.16.0', '-rc3', True),
('Perl', '5.28.1', '', ('GCC', '6.3.0-2.27')),
]
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 && "
common_configopts = "-DENABLE_FORTRAN=ON -DENABLE_FORTRAN03=ON -DENABLE_XHOST=OFF"
# perform iterative build to get both static and shared libraries
configopts = [
common_configopts + ' -DBUILD_SHARED_LIBS=OFF',
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'