From 43321a606ff07af181432e122a59fe53599ab71b Mon Sep 17 00:00:00 2001 From: ankekreuzer Date: Wed, 9 Oct 2024 13:38:35 +0200 Subject: [PATCH 1/6] Added bokeh to the gfbf-2024a toolchain and tornado (dep of bokeh) to the GCCcore-13.3.0 toolchain --- .../b/bokeh/bokeh-3.6.0-gfbf-2024a.eb | 46 +++++++++++++++++++ .../t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb | 29 ++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb create mode 100644 easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb diff --git a/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb b/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb new file mode 100644 index 00000000000..fbdb34a71b6 --- /dev/null +++ b/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb @@ -0,0 +1,46 @@ +easyblock = 'PythonBundle' + +name = 'bokeh' +version = '3.6.0' + +homepage = 'https://github.com/bokeh/bokeh' +description = "Statistical and novel interactive HTML plots for Python" + +toolchain = {'name': 'gfbf', 'version': '2024a'} + +builddependencies = [ + ('meson-python', '0.16.0'), +] + +dependencies = [ + ('Python', '3.12.3'), + ('Python-bundle-PyPI', '2024.06'), + ('SciPy-bundle', '2024.05'), + ('matplotlib', '3.9.2'), + ('PyYAML', '6.0.2'), + ('Pillow-SIMD', '10.4.0'), + ('tornado', '6.4.1'), +] + +use_pip = True + +exts_list = [ + ('xyzservices', '2024.4.0', { + 'checksums': ['6a04f11487a6fb77d92a98984cd107fbd9157fd5e65f929add9c3d6e604ee88c'], + }), + (name, version, { + 'preinstallopts': """sed -i 's/setup(/setup(version="%(version)s",/g' setup.py && """, + 'checksums': ['0032dc1e76ad097b07626e51584685ff48c65481fbaaad105663b1046165867a'], + }), +] + +sanity_check_paths = { + 'files': ['bin/bokeh'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +sanity_check_commands = ["bokeh --help"] + +sanity_pip_check = True + +moduleclass = 'tools' diff --git a/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb b/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb new file mode 100644 index 00000000000..d4266c8c1c9 --- /dev/null +++ b/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb @@ -0,0 +1,29 @@ +easyblock = "PythonPackage" + +name = "tornado" +version = "6.4.1" + +homepage = "https://github.com/tornadoweb/tornado" +description = "Tornado is a Python web framework and asynchronous networking library." + +toolchain = {"name": "GCCcore", "version": "13.3.0"} + +sources = [SOURCE_TAR_GZ] +patches = ['tornado-6.1_increase-default-timeouts.patch'] +checksums = [ + {'tornado-6.4.1.tar.gz': '92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9'}, + {'tornado-6.1_increase-default-timeouts.patch': '32e09dd8243acb8c55162f361880dc294d76770a7ff083c05aef6b8660e3bfb9'}, +] + +builddependencies = [ + ("binutils", "2.42"), +] +dependencies = [ + ("Python", "3.12.3"), +] + +download_dep_fail = True +sanity_pip_check = True +use_pip = True + +moduleclass = "lib" From 71273e489e5d13584714557a6ac328b308ada47a Mon Sep 17 00:00:00 2001 From: ankekreuzer Date: Thu, 10 Oct 2024 11:19:11 +0200 Subject: [PATCH 2/6] Added cuDNN and cuTENSOR --- .../c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb | 32 +++++++++++++++ .../c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb | 40 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb create mode 100644 easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb diff --git a/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb b/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb new file mode 100644 index 00000000000..a6cbe9ef7e7 --- /dev/null +++ b/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb @@ -0,0 +1,32 @@ +name = 'cuDNN' +version = '9.5.0.50' +versionsuffix = '-CUDA-%(cudaver)s' +homepage = 'https://developer.nvidia.com/cudnn' +description = """The NVIDIA CUDA Deep Neural Network library (cuDNN) is +a GPU-accelerated library of primitives for deep neural networks.""" + +toolchain = SYSTEM + +# note: cuDNN is tied to specific to CUDA versions, +# see also https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html#cudnn-cuda-hardware-versions +local_short_ver = '.'.join(version.split('.')[:3]) +local_cuda_major = '12' + +source_urls = [ + 'https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-%(cudnnarch)s/' +] +sources = ['%%(namelower)s-linux-%%(cudnnarch)s-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major] +checksums = ['86e4e4f4c09b31d3850b402d94ea52741a2f94c2f717ddc8899a14aca96e032d'] + +dependencies = [('CUDA', '12.6.0')] + +sanity_check_paths = { + 'files': [ + 'include/cudnn.h', 'lib64/libcudnn_adv_static.a', 'lib64/libcudnn_cnn_static.a', + 'lib64/libcudnn_engines_precompiled_static.a', 'lib64/libcudnn_engines_runtime_compiled_static.a', + 'lib64/libcudnn_graph_static.a', 'lib64/libcudnn_heuristic_static.a', 'lib64/libcudnn_ops_static.a', + ], + 'dirs': ['include', 'lib64'], +} + +moduleclass = 'numlib' diff --git a/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb b/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb new file mode 100644 index 00000000000..fe7b69ac9b0 --- /dev/null +++ b/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb @@ -0,0 +1,40 @@ +easyblock = 'Tarball' + +name = 'cuTENSOR' +version = '2.0.2.5' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://developer.nvidia.com/cutensor' +description = """The cuTENSOR Library is a GPU-accelerated tensor linear algebra library providing tensor contraction, + reduction and elementwise operations.""" + +toolchain = SYSTEM + +source_urls = [ + 'https://developer.download.nvidia.com/compute/cutensor/redist/libcutensor/linux-%(arch)s/' +] +sources = ['libcutensor-linux-%(arch)s-%(version)s-archive.tar.xz'] + +checksums = [{ + 'libcutensor-linux-sbsa-%(version)s-archive.tar.xz': + '5163dd40f11f328e469a6d9b0056c8346f5d59ed538c18d6b954e4ae657c69cc', + 'libcutensor-linux-x86_64-%(version)s-archive.tar.xz': + '0e957ae7b352f599de34b6fa1ba999b0617887f885d7436ac5737d71a6b83baa', +}] + +local_cudamajver = '12' +dependencies = [('CUDA', '12.6.0')] + +sanity_check_paths = { + 'files': ['include/cutensor.h', 'include/cutensor/types.h', + 'lib/%s/libcutensor.%s' % (local_cudamajver, SHLIB_EXT), + 'lib/%s/libcutensor_static.a' % local_cudamajver], + 'dirs': [], +} + +modextrapaths = { + 'LD_LIBRARY_PATH': ['lib/%s' % local_cudamajver], + 'LIBRARY_PATH': ['lib/%s' % local_cudamajver], +} + +moduleclass = 'lib' From 8314b835231f14a146e2b5d199d4b66199e0389e Mon Sep 17 00:00:00 2001 From: ankekreuzer Date: Thu, 10 Oct 2024 12:28:29 +0200 Subject: [PATCH 3/6] Fixed typo in filename of cuTENSOR --- ...uTENSOR-2.0.2.5-CUDA-12.eb => cuTENSOR-2.0.2.5-CUDA-12.6.0.eb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename easybuild/easyconfigs/c/cuTENSOR/{cuTENSOR-2.0.2.5-CUDA-12.eb => cuTENSOR-2.0.2.5-CUDA-12.6.0.eb} (100%) diff --git a/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb b/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.6.0.eb similarity index 100% rename from easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.eb rename to easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-2.0.2.5-CUDA-12.6.0.eb From a316bc83f3482518ad6259d159593ef24372f709 Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Wed, 13 Nov 2024 15:05:45 +0100 Subject: [PATCH 4/6] Remove bokeh, because it's already merged --- .../b/bokeh/bokeh-3.6.0-gfbf-2024a.eb | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb diff --git a/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb b/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb deleted file mode 100644 index fbdb34a71b6..00000000000 --- a/easybuild/easyconfigs/b/bokeh/bokeh-3.6.0-gfbf-2024a.eb +++ /dev/null @@ -1,46 +0,0 @@ -easyblock = 'PythonBundle' - -name = 'bokeh' -version = '3.6.0' - -homepage = 'https://github.com/bokeh/bokeh' -description = "Statistical and novel interactive HTML plots for Python" - -toolchain = {'name': 'gfbf', 'version': '2024a'} - -builddependencies = [ - ('meson-python', '0.16.0'), -] - -dependencies = [ - ('Python', '3.12.3'), - ('Python-bundle-PyPI', '2024.06'), - ('SciPy-bundle', '2024.05'), - ('matplotlib', '3.9.2'), - ('PyYAML', '6.0.2'), - ('Pillow-SIMD', '10.4.0'), - ('tornado', '6.4.1'), -] - -use_pip = True - -exts_list = [ - ('xyzservices', '2024.4.0', { - 'checksums': ['6a04f11487a6fb77d92a98984cd107fbd9157fd5e65f929add9c3d6e604ee88c'], - }), - (name, version, { - 'preinstallopts': """sed -i 's/setup(/setup(version="%(version)s",/g' setup.py && """, - 'checksums': ['0032dc1e76ad097b07626e51584685ff48c65481fbaaad105663b1046165867a'], - }), -] - -sanity_check_paths = { - 'files': ['bin/bokeh'], - 'dirs': ['lib/python%(pyshortver)s/site-packages'], -} - -sanity_check_commands = ["bokeh --help"] - -sanity_pip_check = True - -moduleclass = 'tools' From 9bd5bb154ee97c686e5eaa054f941c8f8e49803f Mon Sep 17 00:00:00 2001 From: SebastianAchilles Date: Wed, 13 Nov 2024 15:14:47 +0100 Subject: [PATCH 5/6] update cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb add sbsa checksum --- .../easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb b/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb index a6cbe9ef7e7..76340a4e654 100644 --- a/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb +++ b/easybuild/easyconfigs/c/cuDNN/cuDNN-9.5.0.50-CUDA-12.6.0.eb @@ -16,7 +16,12 @@ source_urls = [ 'https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-%(cudnnarch)s/' ] sources = ['%%(namelower)s-linux-%%(cudnnarch)s-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major] -checksums = ['86e4e4f4c09b31d3850b402d94ea52741a2f94c2f717ddc8899a14aca96e032d'] +checksums = [{ + '%%(namelower)s-linux-sbsa-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major: + '494b640a69feb40ce806a726aa63a1de6b2ec459acbe6a116ef6fe3e6b27877d', + '%%(namelower)s-linux-x86_64-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major: + '86e4e4f4c09b31d3850b402d94ea52741a2f94c2f717ddc8899a14aca96e032d', +}] dependencies = [('CUDA', '12.6.0')] From 3976ba038ec6081e2f06b2ec2f7773fb1810eb57 Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Wed, 13 Nov 2024 16:01:24 +0100 Subject: [PATCH 6/6] Remove tornado, because it's already merged --- .../t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb diff --git a/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb b/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb deleted file mode 100644 index d4266c8c1c9..00000000000 --- a/easybuild/easyconfigs/t/tornado/tornado-6.4.1-GCCcore-13.3.0.eb +++ /dev/null @@ -1,29 +0,0 @@ -easyblock = "PythonPackage" - -name = "tornado" -version = "6.4.1" - -homepage = "https://github.com/tornadoweb/tornado" -description = "Tornado is a Python web framework and asynchronous networking library." - -toolchain = {"name": "GCCcore", "version": "13.3.0"} - -sources = [SOURCE_TAR_GZ] -patches = ['tornado-6.1_increase-default-timeouts.patch'] -checksums = [ - {'tornado-6.4.1.tar.gz': '92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9'}, - {'tornado-6.1_increase-default-timeouts.patch': '32e09dd8243acb8c55162f361880dc294d76770a7ff083c05aef6b8660e3bfb9'}, -] - -builddependencies = [ - ("binutils", "2.42"), -] -dependencies = [ - ("Python", "3.12.3"), -] - -download_dep_fail = True -sanity_pip_check = True -use_pip = True - -moduleclass = "lib"