I am evaluating Intel Parallel Studio XE 2015 Update 5, after I installed it. I edit my user (the user shell is csh) profile file " .cshrc" and add the following into it:
Then I update the change as "source .cshrc", it reports the following error:
ERROR: Unknown switch ''. Accepted values: ia32, intel64
And it results that we can't find the path of the executable file "icc or ifort " in the user enviroment.
My OS is redhat6.8 X86_64.
Do you any comment for this error ?
I also attached the file iccvars.csh and ifortvars.csh for your reference.
source <install-dir>/bin/compilervars.sh <arg>
where <install-dir> is the directory structure containing the compiler /bin directory, and <arg> is one of the following architecture arguments:
intel64: Compilers and libraries for Intel® 64 architectures only
ia32: Compilers and libraries for IA-32 architectures only
Note: The default path for <install-dir> is /opt/intel/composer_xe_201X
Make sure to specify the <arg> value when sourcing. It doesn't look like it was set in the script. Hence the error message.
As your instruction, I changed the path definition as the following in the file .cshrc
source /opt/intel/composer_xe_2015.5.223/bin/iccvars.csh intel64
source /opt/intel/composer_xe_2015.5.223/bin/ifortvars.csh intel64
Now the problem has been fixed.
Thanks for your kindly help.