From ecff2bdbddd504519e95300d49acfb13ed193c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Fri, 11 May 2018 07:52:44 +0200 Subject: [PATCH 1/2] modified: c/CUDA/CUDA-9.1.85.eb Former-commit-id: 6416d49cdaac9a91eaf71c28c8aa89a95ba58d00 --- c/CUDA/CUDA-9.1.85.eb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/c/CUDA/CUDA-9.1.85.eb b/c/CUDA/CUDA-9.1.85.eb index 0100f4d0..5d50aa6f 100644 --- a/c/CUDA/CUDA-9.1.85.eb +++ b/c/CUDA/CUDA-9.1.85.eb @@ -15,8 +15,11 @@ sources = ['cuda_9.1.85_387.26_linux'] modextravars = { 'CUDA_HOME': '%(installdir)s', - 'LD_LIBRARY_PATH': '%(installdir)s/lib64/stubs', - 'LIBRARY_PATH': '%(installdir)s/lib64/stubs', +} + +modextrapaths = { + 'LIBRARY_PATH': 'lib64/stubs', + 'LD_LIBRARY_PATH': 'lib64/stubs', } modluafooter = 'add_property("arch","gpu")' From 5b7d06aa3b42f3daf850d2c64912d09cba40e3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Fri, 11 May 2018 09:34:34 +0200 Subject: [PATCH 2/2] new file: c/CUDA/CUDA-7.5.18.eb modified: c/CUDA/CUDA-8.0.44.eb new file: c/CUDA/CUDA-9.0.176.eb deleted: c/CUDA/CUDA-5.0.35-1.eb deleted: c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb deleted: c/CUDA/CUDA-7.5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb deleted: c/CUDA/CUDA-7.5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb deleted: c/CUDA/CUDA-8.0.44-intel-2017.00.eb Former-commit-id: 299d8e556cf0143efba0a211ad2f09193c9e57f6 --- c/CUDA/CUDA-5.0.35-1.eb | 50 ------------------- c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb | 50 ------------------- ...5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb | 43 ---------------- ...5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb | 43 ---------------- ...8.0.44-intel-2017.00.eb => CUDA-7.5.18.eb} | 22 +++++--- c/CUDA/CUDA-8.0.44.eb | 5 ++ c/CUDA/CUDA-9.0.176.eb | 27 ++++++++++ 7 files changed, 47 insertions(+), 193 deletions(-) delete mode 100644 c/CUDA/CUDA-5.0.35-1.eb delete mode 100644 c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb delete mode 100644 c/CUDA/CUDA-7.5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb delete mode 100644 c/CUDA/CUDA-7.5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb rename c/CUDA/{CUDA-8.0.44-intel-2017.00.eb => CUDA-7.5.18.eb} (51%) create mode 100644 c/CUDA/CUDA-9.0.176.eb diff --git a/c/CUDA/CUDA-5.0.35-1.eb b/c/CUDA/CUDA-5.0.35-1.eb deleted file mode 100644 index 299410b7..00000000 --- a/c/CUDA/CUDA-5.0.35-1.eb +++ /dev/null @@ -1,50 +0,0 @@ -## -# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild -# -# Copyright:: Copyright 2012-2014 Cyprus Institute / CaSToRC, Uni.Lu/LCSB, NTUA, Ghent University -# Authors:: George Tsouloupas , Fotis Georgatos , Kenneth Hoste -# License:: MIT/GPL -# $Id$ -# -# This work implements a part of the HPCBIOS project and is a component of the policy: -# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-99.html -## - -name = 'CUDA' -version = '5.0.35' -versionsuffix = '-1' - -homepage = 'https://developer.nvidia.com/cuda-toolkit' -description = """CUDA (formerly Compute Unified Device Architecture) is a parallel - computing platform and programming model created by NVIDIA and implemented by the - 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': 'dummy', 'version': 'dummy'} - -# eg. http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_5.0.35_linux_64_rhel5.x-1.run -source_urls = ['http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/'] - -# exhaustive list of all known Linux packages for CUDA v5.0.35 -if OS_NAME in ['fedora', 'redhat']: - system = 'fedora16' -elif OS_NAME in ["RHEL", "SL", "centos"]: - system = 'rhel%s.x' % OS_VERSION.split('.')[0] -elif OS_NAME in ['debian'] and OS_VERSION.startswith('6.'): - system = 'ubuntu10.04' -elif OS_NAME in ['debian', 'ubuntu']: - if OS_VERSION in ['11.10', '10.04']: - system = 'ubuntu%s' % OS_VERSION - else: - print "Falling back to ubuntu11.10 as default for OS_NAME=%s, OS_VERSION=%s; kindly amend this easyconfig" % (OS_NAME, OS_VERSION) - system = 'ubuntu11.10' -elif OS_NAME == "opensuse": - system = 'suse12.1' -elif OS_NAME in ["suse", "SLES"] and OS_VERSION.startswith('11_SP'): - system = 'sles%s' % OS_VERSION.lower().replace('_', '') -else: - system = 'UNKNOWN' - -sources = ['%%(namelower)s_%%(version)s_linux_64_%s%%(versionsuffix)s.run' % system] - -moduleclass = 'system' diff --git a/c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb b/c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb deleted file mode 100644 index 9b2a072f..00000000 --- a/c/CUDA/CUDA-5.0.35-GCC-4.6.4-1.eb +++ /dev/null @@ -1,50 +0,0 @@ -## -# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild -# -# Copyright:: Copyright 2012-2014 Cyprus Institute / CaSToRC, Uni.Lu/LCSB, NTUA, Ghent University -# Authors:: George Tsouloupas , Fotis Georgatos , Kenneth Hoste -# License:: MIT/GPL -# $Id$ -# -# This work implements a part of the HPCBIOS project and is a component of the policy: -# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-99.html -## - -name = 'CUDA' -version = '5.0.35' -versionsuffix = '-1' - -homepage = 'https://developer.nvidia.com/cuda-toolkit' -description = """CUDA (formerly Compute Unified Device Architecture) is a parallel - computing platform and programming model created by NVIDIA and implemented by the - 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': '4.6.4'} - -# eg. http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_5.0.35_linux_64_rhel5.x-1.run -source_urls = ['http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/'] - -# exhaustive list of all known Linux packages for CUDA v5.0.35 -if OS_NAME in ['fedora', 'redhat']: - system = 'fedora16' -elif OS_NAME in ["RHEL", "SL", "centos"]: - system = 'rhel%s.x' % OS_VERSION.split('.')[0] -elif OS_NAME in ['debian'] and OS_VERSION.startswith('6.'): - system = 'ubuntu10.04' -elif OS_NAME in ['debian', 'ubuntu']: - if OS_VERSION in ['11.10', '10.04']: - system = 'ubuntu%s' % OS_VERSION - else: - print "Falling back to ubuntu11.10 as default for OS_NAME=%s, OS_VERSION=%s; kindly amend this easyconfig" % (OS_NAME, OS_VERSION) - system = 'ubuntu11.10' -elif OS_NAME == "opensuse": - system = 'suse12.1' -elif OS_NAME in ["suse", "SLES"] and OS_VERSION.startswith('11_SP'): - system = 'sles%s' % OS_VERSION.lower().replace('_', '') -else: - system = 'UNKNOWN' - -sources = ['%%(namelower)s_%%(version)s_linux_64_%s%%(versionsuffix)s.run' % system] - -moduleclass = 'system' diff --git a/c/CUDA/CUDA-7.5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb b/c/CUDA/CUDA-7.5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb deleted file mode 100644 index f2ca68b5..00000000 --- a/c/CUDA/CUDA-7.5.18-iccifort-2015.3.187-GNU-4.9.3-2.25.eb +++ /dev/null @@ -1,43 +0,0 @@ -## -# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild -# -# Copyright:: Copyright 2012-2013 Cyprus Institute / CaSToRC, University of Luxembourg / LCSB, Ghent University, -# Forschungszentrum Juelich -# Authors:: George Tsouloupas , Fotis Georgatos , Kenneth Hoste -# Authors:: Damian Alvarez -# License:: MIT/GPL -# $Id$ -# -# This work implements a part of the HPCBIOS project and is a component of the policy: -# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-99.html -## - -#easyblock = 'ConfigureMake' - -name = 'CUDA' -version = '7.5.18' - -homepage = 'https://developer.nvidia.com/cuda-toolkit' -description = """CUDA (formerly Compute Unified Device Architecture) is a parallel - computing platform and programming model created by NVIDIA and implemented by the - 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': 'iccifort', 'version': '2015.3.187-GNU-4.9.3-2.25'} - -source_urls = ['http://developer.download.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/'] - -sources = ['%(namelower)s_%(version)s_linux.run'] -checksums = ['4b3bcecf0dfc35928a0898793cf3e4c6'] - -# Necessary to allow to use a GCC 4.9.3 toolchain, as CUDA by default just supports up to 4.9.2. -# Tested, but not throughly, so it is not guaranteed to don't cause problems -installopts = '-override compiler' - -host_compilers = ["icpc", "g++"] - -# Be careful and have a message consistent with the generated wrappers -modloadmsg = "nvcc uses g++ as the default host compiler. If you want to use icpc as a host compiler you can use" -modloadmsg += " nvcc_icpc, or nvcc -ccbin=icpc. Likewise, a g++ wrapper called nvcc_g++ has been also created." - -moduleclass = 'system' diff --git a/c/CUDA/CUDA-7.5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb b/c/CUDA/CUDA-7.5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb deleted file mode 100644 index dc4d389b..00000000 --- a/c/CUDA/CUDA-7.5.18-iccifort-2016.3.210-GCC-4.9.3-2.25.eb +++ /dev/null @@ -1,43 +0,0 @@ -## -# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild -# -# Copyright:: Copyright 2012-2013 Cyprus Institute / CaSToRC, University of Luxembourg / LCSB, Ghent University, -# Forschungszentrum Juelich -# Authors:: George Tsouloupas , Fotis Georgatos , Kenneth Hoste -# Authors:: Damian Alvarez -# License:: MIT/GPL -# $Id$ -# -# This work implements a part of the HPCBIOS project and is a component of the policy: -# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-99.html -## - -#easyblock = 'ConfigureMake' - -name = 'CUDA' -version = '7.5.18' - -homepage = 'https://developer.nvidia.com/cuda-toolkit' -description = """CUDA (formerly Compute Unified Device Architecture) is a parallel - computing platform and programming model created by NVIDIA and implemented by the - 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': 'iccifort', 'version': '2016.3.210-GCC-4.9.3-2.25'} - -source_urls = ['http://developer.download.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/'] - -sources = ['%(namelower)s_%(version)s_linux.run'] -checksums = ['4b3bcecf0dfc35928a0898793cf3e4c6'] - -# Necessary to allow to use a GCC 4.9.3 toolchain, as CUDA by default just supports up to 4.9.2. -# Tested, but not throughly, so it is not guaranteed to don't cause problems -installopts = '-override compiler' - -host_compilers = ["icpc", "g++"] - -# Be careful and have a message consistent with the generated wrappers -modloadmsg = "nvcc uses g++ as the default host compiler. If you want to use icpc as a host compiler you can use" -modloadmsg += " nvcc_icpc, or nvcc -ccbin=icpc. Likewise, a g++ wrapper called nvcc_g++ has been also created.\n" - -moduleclass = 'system' diff --git a/c/CUDA/CUDA-8.0.44-intel-2017.00.eb b/c/CUDA/CUDA-7.5.18.eb similarity index 51% rename from c/CUDA/CUDA-8.0.44-intel-2017.00.eb rename to c/CUDA/CUDA-7.5.18.eb index 9a862611..34bd3392 100644 --- a/c/CUDA/CUDA-8.0.44-intel-2017.00.eb +++ b/c/CUDA/CUDA-7.5.18.eb @@ -1,5 +1,5 @@ name = 'CUDA' -version = '8.0.44' +version = '7.5.18' homepage = 'https://developer.nvidia.com/cuda-toolkit' description = """CUDA (formerly Compute Unified Device Architecture) is a parallel @@ -7,13 +7,21 @@ 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': 'intel', 'version': '2017.00'} +toolchain = {'name': 'dummy', 'version': 'dummy'} -source_urls = [ - 'http://developer.download.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/', - 'https://developer.nvidia.com/compute/cuda/%(version_major_minor)s/prod/local_installers/' -] +source_urls = ['http://developer.download.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/'] -sources = ['%(namelower)s_%(version)s_linux-run'] +sources = ['%(namelower)s_%(version)s_linux.run'] + +modextravars = { + 'CUDA_HOME': '%(installdir)s', +} + +modextrapaths = { + 'LIBRARY_PATH': 'lib64/stubs', + 'LD_LIBRARY_PATH': 'lib64/stubs', +} + +modluafooter = 'add_property("arch","gpu")' moduleclass = 'system' diff --git a/c/CUDA/CUDA-8.0.44.eb b/c/CUDA/CUDA-8.0.44.eb index d841663b..da745cc9 100644 --- a/c/CUDA/CUDA-8.0.44.eb +++ b/c/CUDA/CUDA-8.0.44.eb @@ -15,4 +15,9 @@ sources = ['%(namelower)s_%(version)s_linux-run'] modextravars = { 'CUDA_HOME': '%(installdir)s' } +modextrapaths = { + 'LIBRARY_PATH': 'lib64/stubs', + 'LD_LIBRARY_PATH': 'lib64/stubs', +} + moduleclass = 'system' diff --git a/c/CUDA/CUDA-9.0.176.eb b/c/CUDA/CUDA-9.0.176.eb new file mode 100644 index 00000000..5f5eeb86 --- /dev/null +++ b/c/CUDA/CUDA-9.0.176.eb @@ -0,0 +1,27 @@ +name = 'CUDA' +version = '9.0.176' + +homepage = 'https://developer.nvidia.com/cuda-toolkit' +description = """CUDA (formerly Compute Unified Device Architecture) is a parallel + computing platform and programming model created by NVIDIA and implemented by the + 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': 'dummy', 'version': 'dummy'} + +source_urls = ['https://developer.nvidia.com/compute/cuda/%(version_major_minor)s/Prod/local_installers/'] +sources = ['cuda_%(version)s_384.81_linux-run'] +checksums = ['96863423feaa50b5c1c5e1b9ec537ef7ba77576a3986652351ae43e66bcd080c'] + +modextravars = { + 'CUDA_HOME': '%(installdir)s', +} + +modextrapaths = { + 'LIBRARY_PATH': 'lib64/stubs', + 'LD_LIBRARY_PATH': 'lib64/stubs', +} + +modluafooter = 'add_property("arch","gpu")' + +moduleclass = 'system'