- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.
Thanks & best regards,
Georg Zitzlsberger
which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.
Thanks & best regards,
Georg Zitzlsberger
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.
Thanks & best regards,
Georg Zitzlsberger
which shell ($SHELL) are you using? If you use CSH use compilervars.csh instead.
Thanks & best regards,
Georg Zitzlsberger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much! I though normal user and root user would use same type of shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page