Community
cancel
Showing results for 
Search instead for 
Did you mean: 
grasswater
Beginner
101 Views

Set the environment variables

Jump to solution
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

Accepted Solutions
Georg_Z_Intel
Employee
101 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
102 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

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