From d7980a46073d4193892ef27fbf29ad59b95a440b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Mon, 25 Nov 2019 08:34:11 +0100 Subject: [PATCH] modified: c/CUDA/CUDA-10.1.243.eb --- ...8.2.0-2.31.1.eb => CUDA-10.1.105-GCC-6.3.0-2.27.eb} | 10 +++++++--- c/CUDA/CUDA-10.1.243.eb | 9 +-------- 2 files changed, 8 insertions(+), 11 deletions(-) rename c/CUDA/{CUDA-10.1.105-GCC-8.2.0-2.31.1.eb => CUDA-10.1.105-GCC-6.3.0-2.27.eb} (74%) diff --git a/c/CUDA/CUDA-10.1.105-GCC-8.2.0-2.31.1.eb b/c/CUDA/CUDA-10.1.105-GCC-6.3.0-2.27.eb similarity index 74% rename from c/CUDA/CUDA-10.1.105-GCC-8.2.0-2.31.1.eb rename to c/CUDA/CUDA-10.1.105-GCC-6.3.0-2.27.eb index f56236e9..8671e6c0 100644 --- a/c/CUDA/CUDA-10.1.105-GCC-8.2.0-2.31.1.eb +++ b/c/CUDA/CUDA-10.1.105-GCC-6.3.0-2.27.eb @@ -2,7 +2,7 @@ name = 'CUDA' version = '10.1.105' -nv_version = '418.39' +local_nv_version = '418.39' homepage = 'https://developer.nvidia.com/cuda-toolkit' description = """CUDA (formerly Compute Unified Device Architecture) is a parallel @@ -10,10 +10,14 @@ description = """CUDA (formerly Compute Unified Device Architecture) is a parall graphics processing units (GPUs) that they produce. CUDA gives developers access to the virtual instruction set and memory of the parallel computational elements in CUDA GPUs.""" -toolchain = {'name': 'GCC', 'version': '8.2.0-2.31.1'} +toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} source_urls = ['https://developer.nvidia.com/compute/%(namelower)s/%(version_major_minor)s/Prod/local_installers/'] -sources = ['%%(namelower)s_%%(version)s_%s_linux.run' % nv_version] +sources = ['%%(namelower)s_%%(version)s_%s_linux.run' % local_nv_version] checksums = ['33ac60685a3e29538db5094259ea85c15906cbd0f74368733f4111eab6187c8f'] +postinstallcmds = ['rm -f /tmp/cuda-installer.log'] + +modluafooter = 'add_property("arch","gpu")' + moduleclass = 'system' diff --git a/c/CUDA/CUDA-10.1.243.eb b/c/CUDA/CUDA-10.1.243.eb index 091a80b0..1c650b77 100644 --- a/c/CUDA/CUDA-10.1.243.eb +++ b/c/CUDA/CUDA-10.1.243.eb @@ -14,14 +14,7 @@ source_urls = ['https://developer.download.nvidia.com/compute/cuda/%(version_maj sources = ['%(namelower)s_%(version)s_418.87.00_linux.run'] checksums = ['e7c22dc21278eb1b82f34a60ad7640b41ad3943d929bebda3008b72536855d31'] -modextravars = { - 'CUDA_HOME': '%(installdir)s', -} - -modextrapaths = { - 'LIBRARY_PATH': 'lib64/stubs', - 'LD_LIBRARY_PATH': 'lib64/stubs', -} +postinstallcmds = ['rm -f /tmp/cuda-installer.log'] modluafooter = 'add_property("arch","gpu")'