|
| 1 | +easyblock = "PythonPackage" |
| 2 | + |
| 3 | +name = 'GPAW' |
| 4 | +version = '24.6.0' |
| 5 | + |
| 6 | +homepage = 'https://wiki.fysik.dtu.dk/gpaw/' |
| 7 | +description = """GPAW is a density-functional theory (DFT) Python code based on the projector-augmented wave (PAW) |
| 8 | + method and the atomic simulation environment (ASE). It uses real-space uniform grids and multigrid methods or |
| 9 | + atom-centered basis-functions.""" |
| 10 | + |
| 11 | +toolchain = {'name': 'foss', 'version': '2023a'} |
| 12 | +toolchainopts = {'usempi': True, 'openmp': False} |
| 13 | + |
| 14 | +source_urls = [PYPI_LOWER_SOURCE] |
| 15 | +sources = [SOURCELOWER_TAR_GZ] |
| 16 | +patches = [ |
| 17 | + ('GPAW-20.1.0-Add-Easybuild-configuration-files.patch', 1), |
| 18 | +] |
| 19 | +checksums = [ |
| 20 | + {'gpaw-24.6.0.tar.gz': 'fb48ef0db48c0e321ce5967126a47900bba20c7efb420d6e7b5459983bd8f6f6'}, |
| 21 | + {'GPAW-20.1.0-Add-Easybuild-configuration-files.patch': |
| 22 | + '2b337399479bf018a86156ed073dd7a78ec8c0df1f28b015f9284c6bf9fa5f15'}, |
| 23 | +] |
| 24 | + |
| 25 | +dependencies = [ |
| 26 | + ('Python', '3.11.3'), |
| 27 | + ('Python-bundle-PyPI', '2023.06'), |
| 28 | + ('SciPy-bundle', '2023.07'), |
| 29 | + ('ASE', '3.23.0'), |
| 30 | + ('libxc', '6.2.2'), |
| 31 | + ('libvdwxc', '0.4.0'), |
| 32 | + ('ELPA', '2023.05.001'), |
| 33 | + ('PyYAML', '6.0'), |
| 34 | + ('GPAW-setups', '24.1.0', '', SYSTEM), |
| 35 | +] |
| 36 | + |
| 37 | +prebuildopts = 'GPAW_CONFIG=doc/platforms/Linux/EasyBuild/config_foss.py' |
| 38 | +preinstallopts = prebuildopts |
| 39 | + |
| 40 | +download_dep_fail = True |
| 41 | +use_pip = True |
| 42 | +sanity_pip_check = True |
| 43 | + |
| 44 | +sanity_check_paths = { |
| 45 | + 'files': ['bin/gpaw%s' % x for x in ['', '-analyse-basis', '-basis', '-plot-parallel-timings', |
| 46 | + '-runscript', '-setup', '-upfplot']], |
| 47 | + 'dirs': ['lib/python%(pyshortver)s/site-packages'] |
| 48 | +} |
| 49 | + |
| 50 | +moduleclass = 'chem' |
0 commit comments