From 5644eb72a00df067560a8e4bce84f05f30cbd10e Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Fri, 25 Nov 2022 15:43:49 +0100 Subject: [PATCH] adding easyconfigs: cuTENSOR-1.6.1.5-CUDA-11.7.0.eb --- .../cuTENSOR/cuTENSOR-1.6.1.5-CUDA-11.7.0.eb | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-1.6.1.5-CUDA-11.7.0.eb diff --git a/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-1.6.1.5-CUDA-11.7.0.eb b/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-1.6.1.5-CUDA-11.7.0.eb new file mode 100644 index 00000000000..32caad1f155 --- /dev/null +++ b/easybuild/easyconfigs/c/cuTENSOR/cuTENSOR-1.6.1.5-CUDA-11.7.0.eb @@ -0,0 +1,33 @@ +easyblock = 'Tarball' + +name = 'cuTENSOR' +local_shortver = '1.6.1' +version = local_shortver + '.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-x86_64/'] +sources = ['libcutensor-linux-x86_64-%(version)s-archive.tar.xz'] +checksums = ['793b425c30ffd423c4f3a2e94acaf4fcb6752264aa73b74695a002dd2fe94b1a'] + +local_cudamajver = '11' +dependencies = [('CUDA', local_cudamajver + '.7.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'