Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/h/heat/heat-1.6.0-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'PythonPackage'

name = 'heat'
version = '1.6.0'

homepage = 'https://github.com/helmholtz-analytics/heat'
description = """
Heat builds on PyTorch and mpi4py to provide high-performance computing infrastructure for
memory-intensive applications within the NumPy/SciPy ecosystem.
"""

toolchain = {'name': 'foss', 'version': '2024a'}

source_urls = ['https://pypi.python.org/packages/source/h/%(name)s']
sources = [SOURCELOWER_TAR_GZ]
patches = ['heat-1.6.0-license-fix.patch', 'heat-1.6.0-scipy-version.patch']
checksums = [
{'%(name)s-%(version)s.tar.gz': 'cd011e67c284b7f94d0f1c6ff8bf5309535fa26a895b0db2df83290c47dae55b'},
{'heat-1.6.0-license-fix.patch': '89534b27af1dd3b260835e982d2a0df7ef823715b31fd4f92d14cd83c10314e2'},
{'heat-1.6.0-scipy-version.patch': 'b1873edf3bf8b15c535d1505db55032115b396bbc6a9d8f92ec7f55ec0066933'}
Comment thread
ClaudiaComito marked this conversation as resolved.
Outdated
]

dependencies = [
('Python', '3.12.3'),
('PyTorch', '2.6.0'),
('torchvision', '0.21.0'),
('SciPy-bundle', '2024.05'),
('Pillow-SIMD', '10.4.0'),
('mpi4py', '4.0.1'),
]

# `import heat` requires a valid MPI environment and an accessible CUDA device.
options = {'modulename': False}

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/heat']
}

moduleclass = 'lib'
Comment thread
ClaudiaComito marked this conversation as resolved.
14 changes: 14 additions & 0 deletions easybuild/easyconfigs/h/heat/heat-1.6.0-license-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Patch to fix license field in pyproject.toml
Author: C. Comito (FZJ JSC, Germany)
--- pyproject.toml.orig 2025-09-10 17:39:16
Comment thread
ClaudiaComito marked this conversation as resolved.
+++ pyproject.toml 2025-09-10 17:40:07
@@ -27,8 +27,7 @@
{ name = "Hakan Akdag", email = "hakan.akdag@dlr.de"},
{ name = "Berkant Palazoglu", email = "b.palazoglu@fz-juelich.de"}
]
-license = "MIT"
-license-files = ["LICENSE"]
+license = { file = "LICENSE" }
keywords=["data", "analytics", "tensors", "distributed", "gpu"]
classifiers=[
"Development Status :: 5 - Production/Stable",
11 changes: 11 additions & 0 deletions easybuild/easyconfigs/h/heat/heat-1.6.0-scipy-version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Use Scipy 1.13 instead of 1.14 to be compatible with the foss2024a Scipy-bundle
Author: C. Comito (FZJ JSC, Germany)
--- pyproject.toml.orig 2025-09-10 17:39:16
+++ pyproject.toml 2025-09-17 17:11:07
@@ -50,7 +50,7 @@
"mpi4py>=3.0.0",
"torch~=2.0,<2.8.0",
"torchvision~=0.15",
- "scipy~=1.14",
+ "scipy~=1.13",
]