- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am in the processing of porting a Fortran program from the SGI to Mac OS Xand am trying to map the current SGI compiler options to the equivalent Intel Fortran option (if applicable).
Can someone tell me what the equivalent Intel Fortran compiler option is for the following SGI compiler option:
-n32 = generates 32-bit objects (specifies the Application Binary Interface)
-Olimit 1126 = Specify the maximum size, in basic blocks, of a routine that will be optimized by the global optimizer.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - chauvjo
I am in the processing of porting a Fortran program from the SGI to Mac OS Xand am trying to map the current SGI compiler options to the equivalent Intel Fortran option (if applicable).
Can someone tell me what the equivalent Intel Fortran compiler option is for the following SGI compiler option:
-n32 = generates 32-bit objects (specifies the Application Binary Interface)
-Olimit 1126 = Specify the maximum size, in basic blocks, of a routine that will be optimized by the global optimizer.
If you want to generate 32-bit code even though you have a 64-bit MacOS, you use the same ia32 version of ifort. However, the fact that -n32 was used on Irix is no indication that you shouldn't use Intel64.
The default basic block limit for ifort optimization is large enough that they don't want you to tinker with it. If the compiler hits a limit which causes it to turn off optimization (so as to avoid danger of hanging), there is a warning message, which may give some suggestion. For example, it might be preferable to set -fnoinline-functions if such a limit is exceeded.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - chauvjo
I am in the processing of porting a Fortran program from the SGI to Mac OS Xand am trying to map the current SGI compiler options to the equivalent Intel Fortran option (if applicable).
Can someone tell me what the equivalent Intel Fortran compiler option is for the following SGI compiler option:
-n32 = generates 32-bit objects (specifies the Application Binary Interface)
-Olimit 1126 = Specify the maximum size, in basic blocks, of a routine that will be optimized by the global optimizer.
If you want to generate 32-bit code even though you have a 64-bit MacOS, you use the same ia32 version of ifort. However, the fact that -n32 was used on Irix is no indication that you shouldn't use Intel64.
The default basic block limit for ifort optimization is large enough that they don't want you to tinker with it. If the compiler hits a limit which causes it to turn off optimization (so as to avoid danger of hanging), there is a warning message, which may give some suggestion. For example, it might be preferable to set -fnoinline-functions if such a limit is exceeded.

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