From bf4d82a38e6d6ce974f3a10b069d6d579bcc361b Mon Sep 17 00:00:00 2001 From: Jakob Schiotz Date: Thu, 9 Jan 2025 10:42:21 +0100 Subject: [PATCH] adding easyconfigs: GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb --- .../GPAW/GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 easybuild/easyconfigs/g/GPAW/GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb diff --git a/easybuild/easyconfigs/g/GPAW/GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb b/easybuild/easyconfigs/g/GPAW/GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb new file mode 100644 index 00000000000..918cb4b67c8 --- /dev/null +++ b/easybuild/easyconfigs/g/GPAW/GPAW-25.1.0-foss-2024a-ASE-3.24.0.eb @@ -0,0 +1,52 @@ +easyblock = "PythonPackage" + +name = 'GPAW' +version = '25.1.0' +_aseversion = '3.24.0' +versionsuffix = '-ASE-' + _aseversion + +homepage = 'https://wiki.fysik.dtu.dk/gpaw/' +description = """GPAW is a density-functional theory (DFT) Python code based on the projector-augmented wave (PAW) + method and the atomic simulation environment (ASE). It uses real-space uniform grids and multigrid methods or + atom-centered basis-functions.""" + +toolchain = {'name': 'foss', 'version': '2024a'} +toolchainopts = {'usempi': True, 'openmp': False} + +source_urls = [PYPI_LOWER_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = [ + ('GPAW-20.1.0-Add-Easybuild-configuration-files.patch', 1), +] +checksums = [ + {'gpaw-25.1.0.tar.gz': '80236e779784df3317e7da395dc59ea403bc0213bb3a68d02c17957162e972ea'}, + {'GPAW-20.1.0-Add-Easybuild-configuration-files.patch': + '2b337399479bf018a86156ed073dd7a78ec8c0df1f28b015f9284c6bf9fa5f15'}, +] + +dependencies = [ + ('Python', '3.12.3'), + ('Python-bundle-PyPI', '2024.06'), + ('SciPy-bundle', '2024.05'), + ('ASE', _aseversion), + ('libxc', '6.2.2'), + ('libvdwxc', '0.4.0'), + ('ELPA', '2024.05.001'), + ('PyYAML', '6.0.2'), + ('GPAW-setups', '24.11.0', '', SYSTEM), +] + +prebuildopts = 'GPAW_CONFIG=doc/platforms/Linux/EasyBuild/config_foss.py' +preinstallopts = prebuildopts + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +sanity_check_paths = { + 'files': ['bin/gpaw%s' % x for x in ['', '-analyse-basis', '-basis', '-plot-parallel-timings', + '-runscript', '-setup', '-upfplot']], + 'dirs': ['lib/python%(pyshortver)s/site-packages'] +} + +moduleclass = 'chem'