- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
compiling the attached code (<50 lines) with -O0 gives
I think the code is valid Fortran90.
Any ideas on what might be the problem will be greatly appreciated.
Thanks
Volker
compiling the attached code (<50 lines) with -O0 gives
ifort -O0 test.fwhile -O1 breaks it and gives different results with each run.
a.out
d=1.00000000000000
ifort -O1 test.fThe input used is
a.out
d= 6.953301764193981E-310
a.out
d= 6.953263450359657E-310
cat inputAll this is on a Core2Quad, Suse 10.2 (64bit) using ifort Version 10.1 Build 20070913 Package ID: l_fc_p_10.1.008
1. 0. 0.
-1. 0. 0.
I think the code is valid Fortran90.
Any ideas on what might be the problem will be greatly appreciated.
Thanks
Volker
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see, on my SuSE 10.3 32-bit installation, it works again at -O2 (default), but fails, as you said, at -O1. I agree that -O1 is an important option level. I assume this example is cut down from a meaningful case, so you should submit a problem report on premier.intel.com.

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