easyconfigs-it4i/d/DFTB+/DFTB+-21.1-intel-2020b-Python-3.8.6.eb
Lukas Krupcik 747221f326 new file: a/arpack-ng/arpack-ng-3.8.0-intel-2020b.eb
new file:   b/BerkeleyGW/BerkeleyGW-2.1.0-intel-2020b-Python-3.8.6.eb
	new file:   b/BerkeleyGW/BerkeleyGW-2.1.0_missing_file.patch
	new file:   b/BerkeleyGW/BerkeleyGW-2.1.0_tests.patch
	new file:   d/DFTB+/DFTB+-21.1-intel-2020b-Python-3.8.6.eb
	new file:   d/DFTB+/config.cmake-MANUAL-INSTALATION.patch
	new file:   d/dftd3-lib/dftd3-lib-0.9.2-GCC-10.2.0.eb
	new file:   d/dftd3-lib/dftd3-lib-0.9.2_fix-extras-syntax.patch
	new file:   e/ELPA/ELPA-2019.11.001-intel-2020b.eb
	new file:   h/HDF5/HDF5-1.10.6-iimpi-2020b.eb
	new file:   h/h5py/h5py-2.10.0-intel-2020b-Python-3.8.6.eb
	new file:   h/hypothesis/hypothesis-6.13.1-GCC-10.2.0.eb
	new file:   i/impi/impi-2021.2.0-intel-compilers-2021.2.0.eb
	new file:   i/intel-compilers/intel-compilers-2021.2.0.eb
	new file:   n/Newton-X/Newton-X-2.2-B09-intel-2020b.eb
	new file:   n/Newton-X/newton-x-2.2.patch
	new file:   p/pkgconfig/pkgconfig-1.5.1-GCCcore-10.2.0-python.eb
	new file:   p/pybind11/pybind11-2.4.3-GCC-10.2.0-Python-3.8.6.eb
	new file:   p/pybind11/pybind11-2.6.0-GCC-10.2.0-Python-3.8.6.eb
	new file:   s/Schrodinger/Schrodinger_2021-2_Linux-x86_64.eb
	new file:   s/SciPy-bundle/SciPy-bundle-2020.03-intel-2020b-Python-3.8.6.eb
	new file:   s/SciPy-bundle/SciPy-bundle-2021.05-intel-2020b.eb
2021-06-16 07:42:30 +02:00

75 lines
2.5 KiB
Plaintext

# IT4Innovations 2021
# LK
easyblock = 'CMakeMake'
name = 'DFTB+'
version = '21.1'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://www.dftb-plus.info'
description = """DFTB+ is a fast and efficient versatile quantum mechanical simulation package.
It is based on the Density Functional Tight Binding (DFTB) method, containing
almost all of the useful extensions which have been developed for the DFTB
framework so far. Using DFTB+ you can carry out quantum mechanical simulations
like with ab-initio density functional theory based packages, but in an
approximate way gaining typically around two order of magnitude in speed."""
toolchain = {'name': 'intel', 'version': '2020b'}
toolchainopts = {'lowopt': True, 'optarch': False}
local_external_dir = '%%(builddir)s/dftbplus-%%(version)s/external/%s/origin/'
local_external_extract = 'mkdir -p %s && tar -C %s' % (local_external_dir, local_external_dir)
local_external_extract += ' --strip-components=1 -xzf %%s'
sources = [
{
# DFTB+ source code
'source_urls': ['https://github.com/dftbplus/dftbplus/archive'],
'download_filename': '%(version)s.tar.gz',
'filename': SOURCE_TAR_GZ,
},
{
# Slater-Koster (slakos) data for testing
'source_urls': ['https://github.com/dftbplus/testparams/archive'],
'download_filename': 'd0ea16df2b56d14c7c3dc9329a8d3bac9fea50a0.tar.gz',
'filename': 'slakos-data-%(version)s.tar.gz',
'extract_cmd': local_external_extract % ('slakos', 'slakos'),
},
]
builddependencies = [
('CMake', '3.18.4'),
]
dependencies = [
('Python', '3.8.6'),
('SciPy-bundle', '2020.03', versionsuffix),
('arpack-ng', '3.8.0'),
('dftd3-lib', '0.9.2', '', ('GCC', '10.2.0')),
]
# Link to Arpack
local_makeopts = ' WITH_ARPACK=1 ARPACK_LIBS="-L$EBROOTARPACKMINNG/lib -larpack" ARPACK_NEEDS_LAPACK=1'
# Use DFTD3 from EB
local_makeopts += ' WITH_DFTD3=1 COMPILE_DFTD3=0 DFTD3_INCS="-I$EBROOTDFTD3MINLIB/include"'
local_makeopts += ' DFTD3_LIBS="-L$EBROOTDFTD3MINLIB/lib -ldftd3"'
buildopts = local_makeopts
#runtest = 'test' + local_makeopts
installopts = 'INSTALLDIR="%(installdir)s"'
sanity_check_paths = {
'files': ['bin/' + x for x in ['dftb+', 'dp_bands', 'dp_dos', 'gen2cif', 'gen2xyz', 'makecube',
'modes', 'repeatgen', 'straingen', 'waveplot', 'xyz2gen']],
'dirs': ['lib/python%(pyshortver)s/site-packages']
}
sanity_check_commands = [('python', '-c "import dptools"')]
modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
moduleclass = 'phys'