Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Set the environment variables

grasswater
Beginner
199 Views
Hi,
I installed the compiler as root user, and everything is fine after setting enviroment.
Latter I login as normal user and I want to run the compiler. I set the inviroment as told: $ source install-dir/bin/compilervars.sh intel64.
Error information is :
PROD_DIR=/opt/intel/composer_xe_2011_sp1.8.273: Command not found.
if: Expression Syntax.
I am new to linux and intel C++ compiler.Any hints? Thank you!
0 Kudos
1 Solution
Georg_Z_Intel
Employee
199 Views
Hello,

which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.

Thanks & best regards,

Georg Zitzlsberger

View solution in original post

3 Replies
Georg_Z_Intel
Employee
200 Views
Hello,

which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.

Thanks & best regards,

Georg Zitzlsberger
grasswater
Beginner
199 Views
Thank you very much! I though normal user and root user would use same type of shell.
TimP
Black Belt
199 Views
That's entirely up to the administrator. In either case, you can open the shell of your choice, and your scripts should have their shell specified.
Reply