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

large data in memory

rswzchevron_com
Beginner
479 Views
Hi,

what would be the equivalent of the linux option:

-mcmodel=medium

in MacOSX. I am using the lastest ifort version and snow leopard (I am running on 64bit mode).
right now I am trying:

ifort -O -fpp -m64 -openmp phases.f -o phases.x

But I have the 2gb limit for data allocation in memory.

thanks,
Rafael
0 Kudos
1 Reply
rreis
New Contributor I
479 Views
is this what you're looking for?

( sorry, you said 64bit, I didn't notice it :( . are you working in fortran 77 or 90 and above?)



-mdynamic-no-pic (M*X only)

Generates code that is not position-independent but has
position-independent external references.

Architectures: IA-32 architecture

Default:

OFF All references are generated as position
independent.

Description:

This option generates code that is not position-indepen-
dent but has position-independent external references.

The generated code is suitable for building executables,
but it is not suitable for building shared libraries.

This option may reduce code size and produce more effi-
cient code. It overrides the -fpic compiler option.

0 Kudos
Reply