summarylogtreecommitdiffstats
path: root/intel_compilers.sh
diff options
context:
space:
mode:
authorAlexey Stukalov2019-04-25 21:00:42 +0200
committerAlexey Stukalov2019-04-25 21:01:09 +0200
commit0bd10db31f67b1b5fedf3237c85f9be7e3fb258f (patch)
tree5518d113739262e78fd60d60064fa23582cc1ea6 /intel_compilers.sh
parent490b77c7d78297a759097480d96969883925d574 (diff)
downloadaur-0bd10db31f67b1b5fedf3237c85f9be7e3fb258f.tar.gz
check for compilervars.sh existence at prof. init
Diffstat (limited to 'intel_compilers.sh')
-rwxr-xr-xintel_compilers.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/intel_compilers.sh b/intel_compilers.sh
index 61ee7463726d..2c83e6c8689f 100755
--- a/intel_compilers.sh
+++ b/intel_compilers.sh
@@ -1,4 +1,4 @@
-#/bin/bash
+#! /bin/bash
TMP_LLP=$LD_LIBRARY_PATH
if [ -z $TMP_LLP ] ; then
@@ -7,7 +7,9 @@ else
LLP_NULL=false ;
fi
+if [ -f /opt/intel/composerxe/linux/bin/compilervars.sh ] ; then
. /opt/intel/composerxe/linux/bin/compilervars.sh <arch>
+fi
#. /opt/intel/composerxe/bin/iccvars.sh <arch>
PATH=$PATH:/opt/intel/bin