Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
dd53ddb0
Commit
dd53ddb0
authored
8 years ago
by
Adam J. Stewart
Committed by
Todd Gamblin
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add latest version of Intel Parallel Studio XE (#2151)
parent
12270b9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+47
-15
47 additions, 15 deletions
...k/repos/builtin/packages/intel-parallel-studio/package.py
with
47 additions
and
15 deletions
var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+
47
−
15
View file @
dd53ddb0
##############################################################################
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/llnl/spack
# Please also see the LICENSE file for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from
spack
import
*
import
os
import
re
...
...
@@ -15,21 +39,13 @@ class IntelParallelStudio(IntelInstaller):
homepage
=
"
https://software.intel.com/en-us/intel-parallel-studio-xe
"
# TODO: can also try the online installer (will download files on demand)
version
(
'
composer.2016.2
'
,
'
1133fb831312eb519f7da897fec223fa
'
,
url
=
"
file://%s/parallel_studio_xe_2016_composer_edition_update2.tgz
"
%
os
.
getcwd
())
version
(
'
professional.2016.2
'
,
'
70be832f2d34c9bf596a5e99d5f2d832
'
,
url
=
"
file://%s/parallel_studio_xe_2016_update2.tgz
"
%
os
.
getcwd
())
version
(
'
cluster.2016.2
'
,
'
70be832f2d34c9bf596a5e99d5f2d832
'
,
url
=
"
file://%s/parallel_studio_xe_2016_update2.tgz
"
%
os
.
getcwd
())
version
(
'
composer.2016.3
'
,
'
3208eeabee951fc27579177b593cefe9
'
,
url
=
"
file://%s/parallel_studio_xe_2016_composer_edition_update3.tgz
"
%
os
.
getcwd
())
version
(
'
professional.2016.3
'
,
'
eda19bb0d0d19709197ede58f13443f3
'
,
url
=
"
file://%s/parallel_studio_xe_2016_update3.tgz
"
%
os
.
getcwd
())
version
(
'
cluster.2016.3
'
,
'
eda19bb0d0d19709197ede58f13443f3
'
,
url
=
"
file://%s/parallel_studio_xe_2016_update3.tgz
"
%
os
.
getcwd
())
version
(
'
professional.2017.0
'
,
'
34c98e3329d6ac57408b738ae1daaa01
'
)
version
(
'
composer.2016.3
'
,
'
3208eeabee951fc27579177b593cefe9
'
)
version
(
'
professional.2016.3
'
,
'
eda19bb0d0d19709197ede58f13443f3
'
)
version
(
'
cluster.2016.3
'
,
'
eda19bb0d0d19709197ede58f13443f3
'
)
version
(
'
composer.2016.2
'
,
'
1133fb831312eb519f7da897fec223fa
'
)
version
(
'
professional.2016.2
'
,
'
70be832f2d34c9bf596a5e99d5f2d832
'
)
version
(
'
cluster.2016.2
'
,
'
70be832f2d34c9bf596a5e99d5f2d832
'
)
variant
(
'
rpath
'
,
default
=
True
,
description
=
"
Add rpath to .cfg files
"
)
variant
(
'
newdtags
'
,
default
=
False
,
...
...
@@ -84,6 +100,22 @@ def blas_libs(self):
def
lapack_libs
(
self
):
return
self
.
blas_libs
def
url_for_version
(
self
,
version
):
"""
Assume the tarball is in the current directory.
"""
version_tuple
=
str
(
version
).
split
(
'
.
'
)
url
=
"
file://{0}/parallel_studio_xe_{1}
"
.
format
(
os
.
getcwd
(),
version_tuple
[
1
])
if
version_tuple
[
0
]
==
'
composer
'
:
url
+=
"
_composer_edition
"
if
version_tuple
[
2
]
!=
'
0
'
:
url
+=
"
_update{0}
"
.
format
(
version_tuple
[
2
])
return
url
+
"
.tgz
"
def
check_variants
(
self
,
spec
):
error_message
=
'
\t
{variant} can not be turned off if
"
+all
"
is set
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment