summarylogtreecommitdiffstats
path: root/intel_compilers.sh
diff options
context:
space:
mode:
authorm-wells2015-06-08 16:37:18 -0400
committerm-wells2015-06-08 16:37:18 -0400
commitad6edc683eedca068901f398b20044e12edba190 (patch)
treed2d9f15ad2377dea97a427e00cc654bceb35e033 /intel_compilers.sh
downloadaur-ad6edc683eedca068901f398b20044e12edba190.tar.gz
Initial import
Diffstat (limited to 'intel_compilers.sh')
-rwxr-xr-xintel_compilers.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/intel_compilers.sh b/intel_compilers.sh
new file mode 100755
index 000000000000..1867ffecd344
--- /dev/null
+++ b/intel_compilers.sh
@@ -0,0 +1,23 @@
+#/bin/bash
+
+TMP_LLP=$LD_LIBRARY_PATH
+if [ -z $TMP_LLP ] ; then
+ LLP_NULL=true ;
+else
+ LLP_NULL=false ;
+fi
+
+. /opt/intel/composerxe/bin/compilervars.sh <arch>
+#. /opt/intel/composerxe/bin/iccvars.sh <arch>
+
+PATH=$PATH:/opt/intel/bin
+export PATH
+
+if [ $LLP_NULL ] ; then
+ unset LD_LIBRARY_PATH
+else
+ LD_LIBRARY_PATH=$TMP_LLP
+ export LD_LIBRARY_PATH
+fi
+
+export INTEL_LICENSE_FILE=/opt/intel/licenses