I'm trying to install icc compiler 11.0
I've got this script here located at /opt/intel/compiler/11.0/0.74/bin/iccvars.sh
Code:
#!/bin/bash
case "$1" in
ia32)
if [ -e /intel/cc/10.0.023/intel/Compiler/11.0/074/bin/ia32/iccvars_ia32.sh ]; then
. /intel/cc/10.0.023/intel/Compiler/11.0/074/bin/ia32/iccvars_ia32.sh
fi
;;
intel64)
if [ -e /intel/cc/10.0.023/intel/Compiler/11.0/074/bin/intel64/iccvars_intel64.sh ]; then
. /intel/cc/10.0.023/intel/Compiler/11.0/074/bin/intel64/iccvars_intel64.sh
fi
;;
esac
The files iccvars_ia32.sh and 64.sh, should update the PATH.
If I run
source iccvars_ia32.sh it works.
But if i try to call this wrapper called iccvars.sh it doesn't update anything.
Thanks in advance