mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: d/deepdiff/deepdiff-4.0.6-GCCcore-9.3.0-Python-3.8.2.eb modified: h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb new file: h/h5py/h5py-2.10.0-intel-2020a.eb new file: i/iccifort/iccifort-2020.1.217.eb new file: i/iimpi/iimpi-2020a.eb.old new file: i/intel/intel-2020a.eb.old modified: l/libxc/libxc-4.3.4-intel-2020a.eb modified: m/METIS/METIS-5.1.0-intel-2020a.eb modified: m/Molden/Molden-6.3-intel-2020a.eb modified: n/netCDF/netCDF-4.7.3-intel-2020a.eb new file: n/networkx/networkx-2.4-intel-2020a-Python-3.8.2.eb new file: o/OpenFOAM/OpenFOAM-v2006-intel-2020a.eb modified: p/PETSc/PETSc-3.12.4-intel-2020a.eb new file: p/PSI4/PSI4-1.3.2-intel-2020a-Py-3.8.2.eb new file: p/pytest/pytest-6.0.1-Python-3.7.8.eb new file: p/pytest/pytest-6.0.1-Python-3.8.2.eb modified: q/QMCPACK/QMCPACK-3.9.1-intel-2020a.eb modified: r/RELION/RELION-3.1.0-intel-2020a.eb modified: s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb new file: s/SciPy-bundle/SciPy-bundle-2020.03-intel-2020a-Python-3.7.8.eb modified: s/Score-P/Score-P-6.0-intel-2020a.eb modified: s/SuiteSparse/SuiteSparse-5.6.0-intel-2020a-METIS-5.1.0.eb new file: u/UCX/UCX-1.8.0-GCCcore-9.3.0.eb new file: v/VTK/VTK-8.2.0-intel-2020a-Python-3.7.8.eb deleted: i/iimpi/iimpi-2020a.eb deleted: i/intel/intel-2020a.eb deleted: u/UCX/UCX-1.8.1-GCC-9.3.0.eb deleted: u/UCX/UCX-1.8.1-GCCcore-8.3.0.eb deleted: v/VTK/VTK-8.2.0-intel-2020a-Py-3.7.eb
51 lines
1.5 KiB
Plaintext
51 lines
1.5 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.4'),
|
|
('Perl', '5.30.2'),
|
|
]
|
|
|
|
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'
|