Add env vars for Intel VTune Amplifier (#3531)

* Add env vars for Intel VTune Amplifier

* Flake8 fix
This commit is contained in:
Adam J. Stewart 2017-03-23 15:58:12 -05:00 committed by GitHub
parent 10b49fd845
commit 929a3317e9
2 changed files with 10 additions and 10 deletions

View file

@ -31,11 +31,7 @@
class IntelParallelStudio(IntelInstaller): class IntelParallelStudio(IntelInstaller):
"""Intel Parallel Studio. """Intel Parallel Studio."""
Note: You will have to add the download file to a
mirror so that Spack can find it. For instructions on how to set up a
mirror, see http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "https://software.intel.com/en-us/intel-parallel-studio-xe" homepage = "https://software.intel.com/en-us/intel-parallel-studio-xe"
@ -383,3 +379,11 @@ def setup_environment(self, spack_env, run_env):
run_env.prepend_path('MIC_LD_LIBRARY_PATH', run_env.prepend_path('MIC_LD_LIBRARY_PATH',
join_path(self.prefix, 'ipp', 'lib', 'mic')) join_path(self.prefix, 'ipp', 'lib', 'mic'))
run_env.set('IPPROOT', join_path(self.prefix, 'ipp')) run_env.set('IPPROOT', join_path(self.prefix, 'ipp'))
if self.spec.satisfies('+all') or self.spec.satisfies('+tools'):
run_env.prepend_path('PATH',
join_path(self.prefix, 'vtune_amplifier_xe',
'bin64'))
run_env.prepend_path('VTUNE_AMPLIFIER_XE_{0}_DIR'.format(
major_ver),
join_path(self.prefix, 'vtune_amplifier_xe'))

View file

@ -97,11 +97,7 @@ def install(self, spec, prefix):
class Intel(IntelInstaller): class Intel(IntelInstaller):
"""Intel Compilers. """Intel Compilers."""
Note: You will have to add the download file to a
mirror so that Spack can find it. For instructions on how to set up a
mirror, see http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "https://software.intel.com/en-us/intel-parallel-studio-xe" homepage = "https://software.intel.com/en-us/intel-parallel-studio-xe"