diff options
author | Gregory Lee <lee218@llnl.gov> | 2016-12-02 10:35:36 -0800 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2016-12-02 10:35:36 -0800 |
commit | 84dc0b5b8340a636fd2692a22ca27eb0ea091aa7 (patch) | |
tree | ca8f131be76a57f3e3bbb8d63a0dd8ee80be0b2f | |
parent | 3024c0096a88339116dac2c433dddde1ece24053 (diff) | |
download | spack-84dc0b5b8340a636fd2692a22ca27eb0ea091aa7.tar.gz spack-84dc0b5b8340a636fd2692a22ca27eb0ea091aa7.tar.bz2 spack-84dc0b5b8340a636fd2692a22ca27eb0ea091aa7.tar.xz spack-84dc0b5b8340a636fd2692a22ca27eb0ea091aa7.zip |
new intel parallel studio versions (#2459)
-rw-r--r-- | var/spack/repos/builtin/packages/intel-parallel-studio/package.py | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py index 0453674c81..8564eeb941 100644 --- a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py +++ b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py @@ -39,7 +39,11 @@ class IntelParallelStudio(IntelInstaller): homepage = "https://software.intel.com/en-us/intel-parallel-studio-xe" + version('professional.2017.1', '7f75a4a7e2c563be778c377f9d35a542') + version('cluster.2017.1', '7f75a4a7e2c563be778c377f9d35a542') + version('composer.2017.1', '1f31976931ed8ec424ac7c3ef56f5e85') version('professional.2017.0', '34c98e3329d6ac57408b738ae1daaa01') + version('cluster.2017.0', '34c98e3329d6ac57408b738ae1daaa01') version('composer.2016.3', '3208eeabee951fc27579177b593cefe9') version('professional.2016.3', 'eda19bb0d0d19709197ede58f13443f3') version('cluster.2016.3', 'eda19bb0d0d19709197ede58f13443f3') @@ -104,15 +108,22 @@ class IntelParallelStudio(IntelInstaller): """Assume the tarball is in the current directory.""" version_tuple = str(version).split('.') + year = int(version_tuple[1]) url = "file://{0}/parallel_studio_xe_{1}".format( os.getcwd(), version_tuple[1]) - if version_tuple[0] == 'composer': - url += "_composer_edition" - + update_string = "" if version_tuple[2] != '0': - url += "_update{0}".format(version_tuple[2]) + update_string = "_update{0}".format(version_tuple[2]) + + if version_tuple[0] == 'composer': + if year == 2016: + url += "_composer_edition{0}".format(update_string) + else: + url += "{0}_composer_edition".format(update_string) + else: + url += update_string return url + ".tgz" @@ -138,7 +149,7 @@ class IntelParallelStudio(IntelInstaller): if not spec.satisfies('+all'): all_components = get_all_components() - regex = '(comp|openmp|intel-tbb|icc|ifort|psxe|icsxe-pset)' + regex = '(comp|openmp|intel-tbb|icc|ifort|psxe)' base_components = \ filter_pick(all_components, re.compile(regex).search) regex = '(icsxe|imb|mpi|itac|intel-ta|intel-tc|clck)' @@ -309,7 +320,7 @@ class IntelParallelStudio(IntelInstaller): run_env.set('I_MPI_ROOT', join_path(self.prefix, 'impi')) if self.spec.satisfies('+all') or self.spec.satisfies('+mkl'): - spack_env.set('MKLROOT', self.prefix) + spack_env.set('MKLROOT', join_path(self.prefix, 'mkl')) run_env.prepend_path('LD_LIBRARY_PATH', join_path(self.prefix, 'mkl', 'lib', |