icc update (good for ACM machines)

This commit is contained in:
David Alexander Majnemer 2008-12-08 10:40:28 -06:00
parent d32a528f6a
commit 96fef27be2

10
zsh/icc
View file

@ -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