- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all, I have compiled a simple program given in the following webpage to test the fpe compiling option on my mac M1:
Using ifort fpe.f90 -fpe0 -fp-model strict -g the output is
Underflow: 0.1E-29 * 0.1E-09 = 0.1E-39
Overflow: 0.1E+31 * 0.1E+31 = Infinity
Div-by-zero: -0.1E+31 / 0.0E+00 = -Infinity
Invalid: 0.0E+00 / 0.0E+00 = NaN
So apparently the option does not work. The same code compiled in the same way on my Linux machine gives the expected results.
I would like to know the reason of this behavior.
Thanks in advance
Regards
Edie
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if that's because ifort on macOS is only supported for Intel processors. See the macOS note in the Fortran System Requirements article.
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