- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem that I'm experiencing seems to have been reviewed in these forums quite a bit but those solutions haven't solved it for me for whatever reason. My problem is that when I call ifort I receive a "command not found" response. I successfully installed the compiler and then called compilervars.sh ia32 but still nothing. I even tried creating a "custom.sh" file in etc/profile.d/ and then putting <install dir>/ifort but that didn't work either. Does anyone have an idea as to what my problem is? Thanks so much.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you run the shell script compilervars.sh directly, it will set the necessary environmental variables, but the old environment is reinstated as soon as the shell script completes.
The proper command to use is
source compilervars.sh ia32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that worked. Thanks so much.

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