Problems with RAM when compiling with Intel Fortran

Hi, I have MAC PRO with 16 Gb but somehow Intel Fortran only sees 2Gb. How should I compile in order to have access to the full memory?
Thanks in advance,
Ramon.

Re: Problems with RAM when compiling with Intel Fortran

Hi Ramon

Do you mean it's producing 32-bit binaries or ifort is only using 2GB of RAM to compile? It shouldn't really require that much RAM to compile.

If you mean you want to produce 64-bit executables, you need to make sure you are using the 64-bit version of the compiler. Which is usually installed in /opt/intel/fce/10.1.XXX/bin/ifort

Hoep that helps,

Dave

-m64

There is also a mac only flag to turn on that forces a 64 bit executable.

-m64

ifort -m64 program.f90 -o program.x

I actually compile with

I actually compile with -m64. This is the kind of message I get:

ld: total output size exceeds 2GB (17592186040320MB)

Any idea?

Re:

See this posting:

http://www.intel.com/support/performancetools/fortran/mac/sb/cs-028982.htm

But again, are you sure you are using the 64-bit compiler (irrespective of the -m64 flag). Can you explicitly try to invoke the 64-bit compiler to see if this works around the issue?

Dave