- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When compiling a rather large fortran code (module), I get the following error:
Fatal compilation error: Out of memory asking for 266240.
compilation aborted for Src/Alpha.f90 (code 1)
I am compiling with the following command:
ifort -c -O3 -module Mod -o Lib/alphamod.o Src/Alpha.f90
Any suggestions on how to get around this?
Fatal compilation error: Out of memory asking for 266240.
compilation aborted for Src/Alpha.f90 (code 1)
I am compiling with the following command:
ifort -c -O3 -module Mod -o Lib/alphamod.o Src/Alpha.f90
Any suggestions on how to get around this?
Message Edited by saroberts on 08-10-2005 08:08 AM
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Use -O2.
2. Split up the source into smaller files if possible (may be difficult if it's a module.)
3. Raise your datasize limit
I'd start with the last. If you can't resolve it, please submit a test case to Intel Premier Support.
2. Split up the source into smaller files if possible (may be difficult if it's a module.)
3. Raise your datasize limit
I'd start with the last. If you can't resolve it, please submit a test case to Intel Premier Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you set the datasize limit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the C shell, it would be:
limit datasize unlimited
Do a "limit" command with no keywords to see what the current values are. "unlimited" doesn't really mean that - rather, it's a preset value when the kernel was built. In some cases, you can specify an explicit value that is larger.
limit datasize unlimited
Do a "limit" command with no keywords to see what the current values are. "unlimited" doesn't really mean that - rather, it's a preset value when the kernel was built. In some cases, you can specify an explicit value that is larger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how do I change the size limit in fortran ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't do it in a language. "C shell" is a type of Linux shell - BASH is another.

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