From 96fef27be2cf16d40c9096ee37854b95ac595fed Mon Sep 17 00:00:00 2001 From: David Alexander Majnemer Date: Mon, 8 Dec 2008 10:40:28 -0600 Subject: [PATCH] icc update (good for ACM machines) --- zsh/icc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zsh/icc b/zsh/icc index 0b91e0f..4ba5fa5 100755 --- a/zsh/icc +++ b/zsh/icc @@ -1,8 +1,9 @@ +local iccvars_path; # are we linux? case `uname -s` in Linux) - local iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh - if [[ -x $iccvars_path ]] ; then + iccvars_path=/opt/intel/Compiler/11.0/074/bin/iccvars.sh + if [[ -r $iccvars_path ]] ; then case `uname -m` in x86_64) source $iccvars_path intel64 @@ -14,6 +15,11 @@ case `uname -s` in source $iccvars_path ia64 ;; esac + else + iccvars_path=/opt/intel/cc/10.1.018/bin/iccvars.sh + if [[ -r $iccvars_path ]] ; then + source $iccvars_path + fi fi ;; esac