- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a Compaq Presario R4225CA laptop. I upgraded the RAM to 2GB with 2 pieces of 1GB PC2700 (KVR333SO1GR) memory.
I have a 2GB swap file on the hard disk and I need to run a program with more than 2GB memory on Linux in 64-bit Gentoo Core. What kind of option I have to use when I perform a compilation with the "ifort" command?
If my code occupies more than 2 GB the compilation is not successful.
Thanks for any information you can provide.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Several previous answers on this and the linux forum (which is more relevant, as you don't appear to be interested in Windows) may apply to your question. The most likely problem (given that you didn't even quote the errors): limitation of static storage objects to 2GB. If you need arrays larger than that, making them allocatable (with error checking during allocation) is a likely solution.

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