- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I recently installed IFC 8.0 on RH 9.0. Everything seems to run smoothly until I have to compile .F or .F90. For instance, when I try to compile a hello world program .. this is what happens:
$ifort hw.f
a.out
Hello world!
... next the same program ...
$ifort hw.F
fortcom: Severe: File not found: '/tmp/ifort'
compilation aborted for hw.F (code 1)
If I run 'fpp' first on the renamed 'hw.fpp' and then 'ifort' on the 'fpp's output everything is ok. Has anyone dealt with such a problem?
$ifort hw.f
a.out
Hello world!
... next the same program ...
$ifort hw.F
fortcom: Severe: File not found: '/tmp/ifort'
compilation aborted for hw.F (code 1)
If I run 'fpp' first on the renamed 'hw.fpp' and then 'ifort' on the 'fpp's output everything is ok. Has anyone dealt with such a problem?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have write permissions on /tmp, and sufficient space there? In case your administrator doesn't permit you to use /tmp, do you have TMPDIR environment variable set? If you're looking for a fix for a red hat 9 misfeature, I don't think you'll find it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have write permission and all the rights to /tmp. Also, I logged as root and the outcome was the same. What I don't understand is why does 'ifortbin' call for 'ifort' in /tmp. I noticed that 'ifort' executes 'ifortbin' which preprocesses the file and then 'ifortbin' calls 'ifort' again to compile the preprocessed output. The call for compilation looks for 'ifort' in /tmp.
Anyway, I seem to have fixed the problem by creating a symbolic link in /tmp to 'ifort'.. but I don't like it, it's a messy workaround.
Thanks for your time!
Anyway, I seem to have fixed the problem by creating a symbolic link in /tmp to 'ifort'.. but I don't like it, it's a messy workaround.
Thanks for your time!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler does put pre-processor output files in /tmp, probably in file names beginning with ifort. I don't expect it to be looking for executable files there.

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