- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Where can I get the documentation of the optimization flags and explanation for ifort and mpiifort 15.0.1.
Thx.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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 .
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
By the way, "mpifort" is not a command provided by Intel Fortran.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The compiler tends to accept both - and _ in older options.