Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Set the environment variables

grasswater
Beginner
305 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
305 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
306 Views
Hello,

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

Thanks & best regards,

Georg Zitzlsberger
grasswater
Beginner
305 Views
Thank you very much! I though normal user and root user would use same type of shell.
TimP
Black Belt
305 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