Skip to content

Commit

Permalink
use icc from /cvmfs/projects.cern.ch
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 27, 2017
1 parent d65f3da commit 7d0ff11
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions icc-gcc-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ fi
export ICC_ROOT=$ICC_SCRAM_ROOT
export ICC_VERSION=ICC_SCRAM_VERSION
export GCC_ROOT
export INTEL_LICENSE_FILE

mkdir -p %i/etc/scram.d
# Generic template for the toolfiles.
Expand All @@ -38,8 +37,6 @@ mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/intel-license.xml
<tool name="intel-license" version="@ICC_VERSION@">
<runtime name="INTEL_LICENSE_FILE" value="28518@AT@lxlicen01.cern.ch,28518@AT@lxlicen02.cern.ch,28518@AT@lxlicen03.cern.ch" type="path" handler="warn"/>
<runtime name="INTEL_LICENSE_FILE" value="@INTEL_LICENSE_FILE@" type="path" handler="warn"/>
<runtime name="INTEL_LICENSE_FILE" value="/opt/intel/licenses" type="path" handler="warn"/>
</tool>
EOF_TOOLFILE

Expand Down
7 changes: 3 additions & 4 deletions icc-scram.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
### RPM cms icc-scram 2017.0.098
## INITENV SETV INTEL_LICENSE_FILE /afs/cern.ch/sw/IntelSoftware/linux/x86_64/xe2017/beta_license/BETA____B92M-3G387F6M.LIC
### RPM cms icc-scram 2017.2.174
## NOCOMPILER
Requires: icc-provides
%prep
%build
%install
cd %i
ln -s /afs/cern.ch/sw/IntelSoftware/linux/x86_64/xe2017/compilers_and_libraries_%{realversion}/linux installation
ln -s /afs/cern.ch/sw/IntelSoftware/linux/x86_64/xe2017/compilers_and_libraries_%{realversion}/linux ifort
ln -s /cvmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2017/compilers_and_libraries_%{realversion}/linux installation
ln -s /cvmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2017/compilers_and_libraries_%{realversion}/linux ifort
5 changes: 3 additions & 2 deletions icc.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external icc composer_xe_2013.2.146
### RPM external icc 2017.2.174
## NOCOMPILER
Source: none
Provides: libimf.so()(64bit)
Expand All @@ -10,4 +10,5 @@ Provides: libsvml.so()(64bit)
%build
%install
%post
ln -s /afs/cern.ch/sw/IntelSoftware/linux/x86_64/xe2013/%{realversion} $RPM_INSTALL_PREFIX/%{pkgrel}/installation
ln -s /cvmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2017/compilers_and_libraries_%{realversion}/linux $RPM_INSTALL_PREFIX/%{pkgrel}/installation

4 changes: 2 additions & 2 deletions intel-vtune.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external intel-vtune 2017.0.2.478468
### RPM external intel-vtune 2017.2.0.499904
## NOCOMPILER

%prep
Expand All @@ -11,7 +11,7 @@ cat << \EOF_TOOLFILE >%i/etc/scram.d/intel-vtune.xml
<tool name="intel-vtune" version="%{realversion}">
<info url="https://software.intel.com/en-us/intel-vtune-amplifier-xe"/>
<client>
<environment name="INTEL_VTUNE_BASE" default="/afs/cern.ch/sw/IntelSoftware/linux/x86_64/xe2017/vtune_amplifier_xe_%{realversion}"/>
<environment name="INTEL_VTUNE_BASE" default="/cvmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2017/vtune_amplifier_xe_%{realversion}"/>
<environment name="BINDIR" default="$INTEL_VTUNE_BASE/bin64"/>
</client>
<runtime name="PATH" value="$INTEL_VTUNE_BASE/bin64" type="path"/>
Expand Down

0 comments on commit 7d0ff11

Please sign in to comment.