|
| 1 | +easyblock = 'MesonNinja' |
| 2 | + |
| 3 | +name = 'DFTD4' |
| 4 | +version = '3.7.0' |
| 5 | + |
| 6 | +homepage= 'https://github.com/dftd4/dftd4' |
| 7 | + |
| 8 | +whatis = [ |
| 9 | + 'Description: DFTD4: Generally Applicable Atomic-Charge Dependent London Dispersion Correction' |
| 10 | +] |
| 11 | + |
| 12 | +description = """ |
| 13 | +Generally Applicable Atomic-Charge Dependent London Dispersion Correction. |
| 14 | +
|
| 15 | +Citation |
| 16 | +======== |
| 17 | +The authors of the package ask to always cite the following papers: |
| 18 | +
|
| 19 | +Eike Caldeweyher, Christoph Bannwarth and Stefan Grimme, J. Chem. Phys., 2017, |
| 20 | +147, 034112. DOI: 10.1063/1.4993215 |
| 21 | +
|
| 22 | +Eike Caldeweyher, Sebastian Ehlert, Andreas Hansen, Hagen Neugebauer, Sebastian |
| 23 | +Spicher, Christoph Bannwarth and Stefan Grimme, J. Chem Phys, 2019, 150, 154122. |
| 24 | +DOI: 10.1063/1.5090222 chemrxiv: 10.26434/chemrxiv.7430216 |
| 25 | +
|
| 26 | +Eike Caldeweyher, Jan-Michael Mewes, Sebastian Ehlert and Stefan Grimme, Phys. Chem. |
| 27 | +Chem. Phys., 2020, 22, 8499-8512. DOI: 10.1039/D0CP00502A |
| 28 | +chemrxiv: 10.26434/chemrxiv.10299428 |
| 29 | +
|
| 30 | +License |
| 31 | +======= |
| 32 | +This project is free software: you can redistribute it and/or modify it under the |
| 33 | +terms of the Lesser GNU General Public License as published by the Free Software |
| 34 | +Foundation, either version 3 of the License, or (at your option) any later version. |
| 35 | +
|
| 36 | +
|
| 37 | +""" |
| 38 | + |
| 39 | +toolchain = {'name': 'cpeGNU', 'version': '25.03'} |
| 40 | + |
| 41 | +source_urls = ['https://github.com/dftd4/dftd4/releases/download/v3.7.0/'] |
| 42 | +sources = ['dftd4-3.7.0.tar.xz'] |
| 43 | +checksums = ['4e8749df6852bf863d5d1831780a2d30e9ac4afcfebbbfe5f6a6a73d06d6c6ee'] |
| 44 | + |
| 45 | +builddependencies = [('buildtools-python', '%(toolchain_version)s', '-systemPython', True),('buildtools', '%(toolchain_version)s', '', True)] |
| 46 | + |
| 47 | +patches = ['DFTD4-3.7.0.patch'] |
| 48 | + |
| 49 | +preconfigopts = 'export FC=ftn && export CC=cc &&' |
| 50 | +# Add API v2 for VASP compatibility |
| 51 | +configopts = '-Dlapack=custom -Dapi_v2=true' |
| 52 | + |
| 53 | +sanity_check_paths = { |
| 54 | + 'files' : ['bin/dftd4','lib/libdftd4.a','include/dftd4.h'], |
| 55 | + 'dirs' : ['bin','lib64','include'] |
| 56 | +} |
| 57 | + |
| 58 | +sanity_check_commands = ["dftd4 --version"] |
| 59 | + |
| 60 | +moduleclass = 'chem' |
0 commit comments