Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Set the environment variables

grasswater
Beginner
525 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
525 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

0 Kudos
3 Replies
Georg_Z_Intel
Employee
526 Views
Hello,

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

Thanks & best regards,

Georg Zitzlsberger
0 Kudos
grasswater
Beginner
525 Views
Thank you very much! I though normal user and root user would use same type of shell.
0 Kudos
TimP
Honored Contributor III
525 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.
0 Kudos
Reply