diff --git a/Golden_Repo/c/cuDNN/cuDNN-8.6.0.163-CUDA-11.7.eb b/Golden_Repo/c/cuDNN/cuDNN-8.6.0.163-CUDA-11.7.eb new file mode 100644 index 0000000000000000000000000000000000000000..fb66a8c539b2757efeb249d80ace881c303abc76 --- /dev/null +++ b/Golden_Repo/c/cuDNN/cuDNN-8.6.0.163-CUDA-11.7.eb @@ -0,0 +1,35 @@ +name = 'cuDNN' +version = '8.6.0.163' +local_cuda_version = '11.7' +local_cuda_version_majmin = '.'.join(local_cuda_version.split('.')[:2]) +versionsuffix = '-CUDA-%s' % local_cuda_version + +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 + +# By downloading, you accept the cuDNN Software License Agreement +# (https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html) +# accept_eula = True +# Url now is +# https://developer.nvidia.com/compute/cudnn/secure/8.3.1/local_installers/11.5/ \ +# cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz +# so I doubt this will ever work + +source_urls = ['https://developer.download.nvidia.com/compute/redist/cudnn/v%s/' % + '.'.join(version.split('.')[:3])] +local_tarball_tmpl = '-'.join(['%%(namelower)s', local_cuda_version_majmin, + 'linux', '%s', 'v%%(version)s.tar.xz']) +sources = [local_tarball_tmpl % '%(cudnnarch)s'] +checksums = ['bbc396df47294c657edc09c600674d608cb1bfc80b82dcf4547060c21711159e'] + +dependencies = [('CUDA', local_cuda_version)] + +sanity_check_paths = { + 'files': ['include/cudnn.h', 'lib64/libcudnn.so.8'], + 'dirs': ['include', 'lib64'], +} + +moduleclass = 'numlib' diff --git a/Golden_Repo/e/expecttest/expecttest-0.1.3-GCCcore-11.3.0.eb b/Golden_Repo/e/expecttest/expecttest-0.1.3-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..30003e96055c352a3557f847ee8fd3306e9f0a73 --- /dev/null +++ b/Golden_Repo/e/expecttest/expecttest-0.1.3-GCCcore-11.3.0.eb @@ -0,0 +1,28 @@ +easyblock = 'PythonPackage' + +name = 'expecttest' +version = '0.1.3' + +homepage = 'https://github.com/ezyang/expecttest' +description = """This library implements expect tests (also known as "golden" tests). Expect tests are a method of + writing tests where instead of hard-coding the expected output of a test, you run the test to get the output, and + the test framework automatically populates the expected output. If the output of the test changes, you can rerun + the test with the environment variable EXPECTTEST_ACCEPT=1 to automatically update the expected output.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +sources = [SOURCE_TAR_GZ] +checksums = ['83057695811d94128aed13ed094a070db90e0a92ea40071f8ee073cbab57149a'] + +builddependencies = [ + ('binutils', '2.38'), +] +dependencies = [ + ('Python', '3.10.4'), +] + +download_dep_fail = True +sanity_pip_check = True +use_pip = True + +moduleclass = 'tools' diff --git a/Golden_Repo/m/magma/magma-2.6.2-foss-2022a-CUDA-11.7.0.eb b/Golden_Repo/m/magma/magma-2.6.2-foss-2022a-CUDA-11.7.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..5c0b53f2a56185f2bca1892db744547b73e9d39c --- /dev/null +++ b/Golden_Repo/m/magma/magma-2.6.2-foss-2022a-CUDA-11.7.0.eb @@ -0,0 +1,44 @@ +easyblock = 'CMakeMake' + +name = 'magma' +version = '2.6.2' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://icl.cs.utk.edu/magma/' +description = """The MAGMA project aims to develop a dense linear algebra library similar to + LAPACK but for heterogeneous/hybrid architectures, starting with current Multicore+GPU systems.""" + +toolchain = {'name': 'foss', 'version': '2022a'} +toolchainopts = {'pic': True, 'openmp': True} + +source_urls = ['https://icl.cs.utk.edu/projectsfiles/%(name)s/downloads/'] +sources = [SOURCE_TAR_GZ] +patches = ['%(name)s-%(version_major_minor)s.1_allow-all-sms.patch'] +checksums = [ + '75b554dab00903e2d10b972c913e50e7f88cbc62f3ae432b5a086c7e4eda0a71', # %(name)s-%(version)s.tar.gz + # %(name)s-%(version_major_minor)s.1_allow-all-sms.patch + 'b89285bac007b68e88e3b5ddbb7f94dbc8a9d77590e58c352e477574d8dca738', +] + +builddependencies = [ + ('CMake', '3.23.1'), +] +dependencies = [ + ('CUDA', '11.7.0', '', SYSTEM), + ('UCX-CUDA', '1.12.1', versionsuffix), +] + +# default CUDA compute capabilities to use (override via --cuda-compute-capabilities) +cuda_compute_capabilities = ['3.5', '5.0', '6.0', '7.0', '7.5', '8.0', '8.6'] + +# make sure both static and shared libs are built +configopts = [ + '-DBUILD_SHARED_LIBS=%s -DGPU_TARGET="%%(cuda_sm_space_sep)s" ' % local_shared for local_shared in ('ON', 'OFF') +] + +sanity_check_paths = { + 'files': ['lib/libmagma.%s' % SHLIB_EXT, 'lib/libmagma.a'], + 'dirs': ['include'], +} + +moduleclass = 'math'