Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Memory and ifort

postaquestion
Novice
652 Views

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.

0 Kudos
1 Reply
TimP
Honored Contributor III
652 Views
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.
0 Kudos
Reply