- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Where can I get the documentation of the optimization flags and explanation for ifort and mpiifort 15.0.1.
Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The current Intel Fortran manual contains "-nofor-main" in some places and "-nofor_main" in other places. The spelling actually used may have been different for different versions of the Linux and OSX IFort compilers.
The -D flag is universally used by language compilers on Unix/Linux/OSX, and sometimes Windows, to define a string for the preprocessor. The string that follows the flag is user selected, and may be of the two forms -Dstr or -Dstr1=str2. The first form is used with #ifdef and #ifndef preprocessor directives. With the second form, str1 is replaced by str2 throughout the source file being processed.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See https://software.intel.com/en-us/node/524877 for the section on options. The complete compiler documentation is at https://software.intel.com/en-us/node/524874 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://software.intel.com/en-us/compiler_15.0_ug_f is the link I would suggest keeping around for the current documentation. The /node/ links tend to go stale after a new release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way, "mpifort" is not a command provided by Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I go through the intel "mpi" documentation (https://software.intel.com/en-us/node/528771), as I am using "mpiifort", version 15.0.1. I did not find any information about the following compilation flags:
-DALLOW_NON_INIT
-nofor_main
However, I still can compile my program with these. Where can I get the complete documentation of flags?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The current Intel Fortran manual contains "-nofor-main" in some places and "-nofor_main" in other places. The spelling actually used may have been different for different versions of the Linux and OSX IFort compilers.
The -D flag is universally used by language compilers on Unix/Linux/OSX, and sometimes Windows, to define a string for the preprocessor. The string that follows the flag is user selected, and may be of the two forms -Dstr or -Dstr1=str2. The first form is used with #ifdef and #ifndef preprocessor directives. With the second form, str1 is replaced by str2 throughout the source file being processed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler tends to accept both - and _ in older options.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page