- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have searched along the forum with no luck.
I need to compile a fortran code with large arrays on a SuSE 32bit.
trealfa:/opt/intel/ # uname -a
Linux trealfa 2.6.27.23-0.1-pae #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux
trealfa:/opt/intel/ # ifort -V
Intel Fortran Compiler Professional for applications running on IA-32, Version 11.1 Build 20090511 Package ID: l_cprof_p_11.1.038
I get a warning about missing mcmodel option on IA32,
warning #10148: option '-mcmodel' not supported
and then a segfault running the executable. Deleting COMMONS didn't help.
My question is: is there any option on a 32bit that allow use of large arrays, in place of -mcmodel?
Thank for your time.
Roberto
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-mcmodel is an x64 option only. Your static code and data on 32-bit is limited to 2GB and it sounds as if you're over that.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-mcmodel is an x64 option only. Your static code and data on 32-bit is limited to 2GB and it sounds as if you're over that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're not exceeding the 2GB virtual space limitation, -heap-arrays or increasing your shell stack limit may help. Otherwise, you need the x86-64 OS. pae is of limited usefulness when you don't program specifically to it; even then, it's likely inferior to what you get for free with the 64-bit OS.

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