[MITgcm-support] Limitation for Tile's dimensions

Constantinos Evangelinos ce107 at ocean.mit.edu
Thu Apr 19 16:57:35 EDT 2007


On Thu 19 Apr 2007 11:23, Martin Losch wrote:
> Hi Eli,
>
> the error message means that you are asking for too much stack
> memory. Many compilers can deal with more stack memory by specifying
> an option such as "pgf77 -mcmodel=medium".
> You'll have to find out what the option is for your compiler.

GNU, PGI, Pathscale, Absoft and Intel compilers all accept -mcmodel=medium
which has to do with the addressing mode not the stack. You have to make
sure all the libraries you link with are also compiled with -mcmodel=medium
or -fPIC.

Constantinos
-- 
Dr. Constantinos Evangelinos
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology




More information about the MITgcm-support mailing list