- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using ifort 10.0.020 under OSX Leopard 10.5.2. The filesystem is not case sensitive and that seems to be a problem with Fortran files that need preprocessing:
[dpo@pod:test-ifort]$ cat truc.F
integer function test(x)
implicit none
include 'test.inc'
integer x
test = x*p
return
end function test
[dpo@pod:test-ifort]$ cat test.inc
C This is an include file
integer p
parameter(p=2)
[dpo@pod:test-ifort]$ ifort -c truc.F
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
[dpo@pod:test-ifort]$ mv truc.F truc.f
[dpo@pod:test-ifort]$ ifort -c truc.f
[dpo@pod:test-ifort]$
This last compilation step completes successfully. I need to compile software written by others that contain .F files with preprocessing directives. It appears that making Leopard case sensitive breaks other applications.
What are the options here?
Thanks,
Dominique
I am using ifort 10.0.020 under OSX Leopard 10.5.2. The filesystem is not case sensitive and that seems to be a problem with Fortran files that need preprocessing:
[dpo@pod:test-ifort]$ cat truc.F
integer function test(x)
implicit none
include 'test.inc'
integer x
test = x*p
return
end function test
[dpo@pod:test-ifort]$ cat test.inc
C This is an include file
integer p
parameter(p=2)
[dpo@pod:test-ifort]$ ifort -c truc.F
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
[dpo@pod:test-ifort]$ mv truc.F truc.f
[dpo@pod:test-ifort]$ ifort -c truc.f
[dpo@pod:test-ifort]$
This last compilation step completes successfully. I need to compile software written by others that contain .F files with preprocessing directives. It appears that making Leopard case sensitive breaks other applications.
What are the options here?
Thanks,
Dominique
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort option -fpp (or -fpp2...)
gcc -E -traditional -x c yourfile.fpp > yourfile.f
coco
and many more, no doubt.
gcc -E -traditional -x c yourfile.fpp > yourfile.f
coco
and many more, no doubt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dpo@pod:test-ifort]$ ifort -c -fpp truc.F
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
[dpo@pod:test-ifort]$ ifort -c -fpp2 truc.F
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
I know gcc can do it. g95, gfortran, g77 and the Portland compiler can too but what's the point of having the Intel compiler then?
Dominique
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
[dpo@pod:test-ifort]$ ifort -c -fpp2 truc.F
ifort: error #10106: Fatal error in /opt/intel/fc/10.0.020/bin/fpp, terminated by segmentation violation
I know gcc can do it. g95, gfortran, g77 and the Portland compiler can too but what's the point of having the Intel compiler then?
Dominique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I didn't notice the crash in fpp. If you see this on a current version of ifort, please submit the file in a problem report. No, I wouldn't buy an Intel compiler for pre-processor alone; the main added value of the Intel pre-processor is OpenMP support ifort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I'll submit a problem report. The contents of the file is actually irrelevant. What causes the crash is the extension .F instead of .f.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The file type .F causes ifort to invoke the fpp preprocessor automatically. Please do submit a problem report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Intel Fortran 10.1 release introduced support for Leopard (10.5). The 10.0.020 version you have is not supported for use under Leopard. The 10.1 compiler/fpp handle the .F file type. Please upgrade your Intel Fortran compiler for Mac OS to the latest 10.1.015 update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's right. All is well with 10.1.015. Thank you for your reply.

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