- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I installed the compiler (version 9.0.031) on Fedora Core 4 and the ifortvars.sh script doesn't seem to help. I can run it from a terminal command line and then invoke the compiler. The "command not found" error occurs. I am aware that FC4 is ont officially supported, but others in this forum have apparently gotten it to work. What should i check?
Thanks
Joe
I installed the compiler (version 9.0.031) on Fedora Core 4 and the ifortvars.sh script doesn't seem to help. I can run it from a terminal command line and then invoke the compiler. The "command not found" error occurs. I am aware that FC4 is ont officially supported, but others in this forum have apparently gotten it to work. What should i check?
Thanks
Joe
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A working gcc installation must be active, so that 'gcc -v' 'gcc -m32 -v' and 'ld --version' work. Installation of FC4 software development package, including "legacy" or 32-bit development and compatibility libraries, should have taken care of that.
If you are running tcsh or csh, of course you run ifortvars.csh instead of ifortvars.sh. You select 32- or 64-bit compiler by running the ifortvars in the /fc/bin or /fce/bin installation directories. ifortvars should make your ifort installation directories appear in the PATH and LD_LIBRARY_PATH environment variables. Then 'which ifort' should show you the installed ifort path. Then ifort should find all the components it requires.
If you are running tcsh or csh, of course you run ifortvars.csh instead of ifortvars.sh. You select 32- or 64-bit compiler by running the ifortvars in the /fc/bin or /fce/bin installation directories. ifortvars should make your ifort installation directories appear in the PATH and LD_LIBRARY_PATH environment variables. Then 'which ifort' should show you the installed ifort path. Then ifort should find all the components it requires.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
gcc works fine. I ran the three commands with no problems. Now what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just checking - you ARE using the "source" command to invoke ifortvars.sh, right? (Use ifortvars.csh if you're using csh.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wasn't--thanks for the catch! I have been using Linux all of about five days now, so forgive my ignorance. Thanks for the help!
Joe
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No problem - Linux is strange to me too. I mentioned it mainly because I've made the same mistake more than once.

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