- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working on a Makefile where I am trying to find which flags to use. The current list of flags is (for some historical reason):
-r8 -fpe0 -g -debug all -traceback -fp-model source -warn all -warn unused -check all,noarg_temp_created
From searching, I believe this may be reduced to
-r8 -fpe0 -g -traceback -fp-model source -warn all -check all,noarg_temp_created
However, I was thinking that there might be an option that would list the options that were passed to `ifort`.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you generate a listing file (-list), all of the flags used will be shown at the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve! That works perfectly!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed! I never knew about this functionality. I think I might try and get a script using this for when I'm debugging a code and trying to clean up the flags.
Steve, is there any place in the Docs or on the Intel site that can help decipher some of the more obscure bits of the listing, e.g.,
-fp_modbits nofp_contract -fp_modbits nono_fp_contract
I figure most are only useful to your engineers, and for my purposes a "no-diff" means I got the same flags, I'm guessing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, this is one of our internal secrets, but "fp_modbits" is an extended list of fp-model bits, and yes, you're right, it's only interesting internally.
We'll look at fixing the output so that it says "fp_model" instead of "fp_modbits", to avoid the confusion.
thanks --
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve! That works perfectly!
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page