From f687113506ba4bdc732e79f99f711689d835af1a Mon Sep 17 00:00:00 2001 From: Alexandre Strube Date: Tue, 12 Sep 2023 16:35:37 +0000 Subject: [PATCH 1/2] adding easyconfigs: cuDNN-8.9.2.26-CUDA-12.2.0.eb --- .../c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb diff --git a/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb b/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb new file mode 100644 index 00000000000..8fb0aa19f95 --- /dev/null +++ b/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb @@ -0,0 +1,33 @@ +name = 'cuDNN' +version = '8.9.2.26' +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 = ['ccafd7d15c2bf26187d52d79d9ccf95104f4199980f5075a7c1ee3347948ce32'] + +dependencies = [('CUDA', '12.2.0')] + +sanity_check_paths = { + 'files': [ + 'include/cudnn.h', 'lib64/libcudnn_adv_infer_static.a', 'lib64/libcudnn_adv_train_static.a', + 'lib64/libcudnn_cnn_infer_static.a', 'lib64/libcudnn_cnn_train_static.a', + 'lib64/libcudnn_ops_infer_static.a', 'lib64/libcudnn_ops_train_static.a', + 'lib64/libcudnn.%s' % SHLIB_EXT + ], + 'dirs': ['include', 'lib64'], +} + +moduleclass = 'numlib' From 8b98a6dbecf26d5c028ff629ca3867a0e13b5cc7 Mon Sep 17 00:00:00 2001 From: Alexandre Strube Date: Wed, 13 Sep 2023 13:41:42 +0200 Subject: [PATCH 2/2] Update easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb Co-authored-by: Simon Branford <4967+branfosj@users.noreply.github.com> --- .../easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb b/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb index 8fb0aa19f95..de4fa6034d9 100644 --- a/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb +++ b/easybuild/easyconfigs/c/cuDNN/cuDNN-8.9.2.26-CUDA-12.2.0.eb @@ -16,7 +16,14 @@ 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 = ['ccafd7d15c2bf26187d52d79d9ccf95104f4199980f5075a7c1ee3347948ce32'] +checksums = [{ + '%%(namelower)s-linux-ppc64le-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major: + '4f5e5bd01570c4805b93fb199f8bb6f8475d016948c55abf48fed9ffe89d13e5', + '%%(namelower)s-linux-sbsa-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major: + '898d00c82f9ad8797bd6f6c639327b320a38fa4aeebfb2b3fbb2db0d38f7e1b0', + '%%(namelower)s-linux-x86_64-%%(version)s_cuda%s-archive.tar.xz' % local_cuda_major: + 'ccafd7d15c2bf26187d52d79d9ccf95104f4199980f5075a7c1ee3347948ce32', +}] dependencies = [('CUDA', '12.2.0')]