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