- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi y'all,
I have this peculiar problem. My compiler installation was without issues. When I added the line in my .bashrc "source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64", ran "source ~/.bashrc" without any error and type "icc", I get an error "icc: command not found". Yet when I type out "source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64" at terminal, then icc works.
If it helps my distro is Ubuntu 10.04 with 2.6.32-24 kernel.
Thanks!
Anusiya
I have this peculiar problem. My compiler installation was without issues. When I added the line in my .bashrc "source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64", ran "source ~/.bashrc" without any error and type "icc", I get an error "icc: command not found". Yet when I type out "source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64" at terminal, then icc works.
If it helps my distro is Ubuntu 10.04 with 2.6.32-24 kernel.
Thanks!
Anusiya
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you set echo temporarily in .bashrc to see if the command actually executes (and that you don't mess up PATH later)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi tim18,
If you meant I added a line 'echo $PATH' at the end of my .bashrc, yes I did that before and it displays my path variables correctly. But the complier variables are not listed there.
If you meant I added a line 'echo $PATH' at the end of my .bashrc, yes I did that before and it displays my path variables correctly. But the complier variables are not listed there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, for diagnostic purposes, you would want to see each command in .bashrc executing.

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