diff --git a/easyconfigs/r/RootPainter/RootPainter-0.2.27.0-foss-2022a-CUDA-11.7.0.eb b/easyconfigs/r/RootPainter/RootPainter-0.2.27.0-foss-2022a-CUDA-11.7.0.eb new file mode 100644 index 00000000..fdcb5d59 --- /dev/null +++ b/easyconfigs/r/RootPainter/RootPainter-0.2.27.0-foss-2022a-CUDA-11.7.0.eb @@ -0,0 +1,37 @@ +easyblock = "PythonBundle" + +name = 'RootPainter' +version = '0.2.27.0' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://github.com/healpy/healpy' +description = """RootPainter is a GUI-based software tool for the rapid training of deep neural networks for use in + biological image analysis. RootPainter uses a client-server architecture, allowing users with a typical laptop to + utilise a GPU on a more computationally powerful server.""" + +toolchain = {'name': 'foss', 'version': '2022a'} +toolchainopts = {'pic': True} + +dependencies = [ + ('Python', '3.10.4'), + ('CUDA', '11.7.0', '', SYSTEM), + ('SciPy-bundle', '2022.05'), + ('scikit-image', '0.19.3'), + ('Pillow', '9.1.1'), + ('PyTorch', '2.0.1', versionsuffix), + ('torchvision', '0.15.2', versionsuffix), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('imagecodecs', '2023.3.16', { + 'source_tmpl': '%(name)s-%(version)s-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl' + }), + ('root_painter_trainer', version, { + 'patches': ['python-deps.patch'] + }), +] + +moduleclass = 'bio' diff --git a/easyconfigs/r/RootPainter/python-deps.patch b/easyconfigs/r/RootPainter/python-deps.patch new file mode 100644 index 00000000..1c4ae91c --- /dev/null +++ b/easyconfigs/r/RootPainter/python-deps.patch @@ -0,0 +1,23 @@ +--- setup.py.old 2023-06-26 14:24:17.129957315 +0100 ++++ setup.py 2023-06-26 14:25:00.078147644 +0100 +@@ -22,13 +22,13 @@ + ] + }, + install_requires=[ +- "scikit-image==0.19.3", +- "numpy==1.24.2", +- "scipy==1.10.0", +- "Pillow==9.3.0", +- "imagecodecs==2021.8.26", +- "torch==1.13.1", +- "torchvision==0.14.1" ++ "scikit-image>=0.19.3", ++ "numpy>=1.22.3", ++ "scipy>=1.8.1", ++ "Pillow>=9.1.0", ++ "imagecodecs>=2021.8.26", ++ "torch>=1.13.1", ++ "torchvision>=0.14.1" + ], + classifiers=[ + 'Intended Audience :: Developers',