- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just upgraded our mac to Intel Fortran 11.1.67 and made the release version of a really long subroutine (> 10,000 lines). Got "internal threshold was exceeded" from the optimizer. Googled the error message and found Q511410 11/6/2008 article at software.intel.com suggesting the use of -override-limits which works. So does turning off array bounds checking and/or reducing the optimization level.
However, man icc, man ifort, nor the HTML documentation for the C++ and Fortran compilers have any reference to this "new" compiler option. Please update the documentation for this compiler switch and include the error message so a search leads us back to the right page. Thanks! RTFM :-)
The Mac Pro has 32 Gb of RAM while the WinXP PC vm has 4 Gb.
p.s. When we port it to Visual Studio, does the IDE GUI know about this new switch /Qoverride-limits or do we have to type it into the project properties on the "command line > additional options"?
However, man icc, man ifort, nor the HTML documentation for the C++ and Fortran compilers have any reference to this "new" compiler option. Please update the documentation for this compiler switch and include the error message so a search leads us back to the right page. Thanks! RTFM :-)
The Mac Pro has 32 Gb of RAM while the WinXP PC vm has 4 Gb.
p.s. When we port it to Visual Studio, does the IDE GUI know about this new switch /Qoverride-limits or do we have to type it into the project properties on the "command line > additional options"?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This option is deliberately undocumented and is definitely not supported in the IDE. It is something we will sometimes suggest for customers who run into this issue but it may not result in a reliable compile. Use it at your own risk.
The amount of RAM is not really an issue - the 32-bit OS can use at most 2GB of virtual memory. On the Mac, are you using the 32-bit or 64-bit compiler? The 64-bit compiler may do better for you there if it is a 64-bit system and recent OS X.
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