- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am porting ifort (2021.5) to ifx (2024.2.1), and regression tests are failing on floating point values throughout the code.
The porting guide (Porting Guide for ifort Users to ifx) suggests using "/assume:[no]ieee_compares" to achieve ifort floating point behaviour in ifx. Despite this I'm getting the error:
" ifx: command line error: Unrecognized keyword '[no]ieee_compares' for option '/assume' "
The fortran flags that I currently use with ifort (2021.5) are:
- /fpe:0
- /fp:precise
- /arch:SSE2
- /Qimf-arch-consistency:true
- /Qdiag-disable:10212
My questions are:
- Why is the [no]ieee_compares argument not recognised
- Confirmation on what flags to use with IFX to achieve consistent numeric behaviour with my current ifort setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The brackets are the way the documentation specifies optional things. In your case you want /assume:noieee_compares .
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The brackets are the way the documentation specifies optional things. In your case you want /assume:noieee_compares .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@XZ_IES if you did set:
/assume:[no]ieee_compares
that is of course not a valid option.
You need to set either /assume:noieee_compares or /assume:ieee_compares
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marked as done to indicate that the initial error was argument formatting. I still haven't achieved parity in results, but I'll split that into its own question as necessary.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page