Make sure you source the script. I couldn't tell from your question whether you had sourced or just executed the script
you should do:
source PATH-TO-INSTALLATION/bin/compilervars.sh intel64
(same as):
. PATH-TO-INSTALLATION/bin/compilervars.sh intel64