[MITgcm-support] Error with GT and leopard...

Klymak Jody jklymak at uvic.ca
Fri Dec 14 12:36:07 EST 2007


Hi All,

This is probably a compiler issue, but perhaps others here have solved  
it....

I am recompiling a single-processor non-MPI version of the gcm.  All  
compiles fine, but I get this error after my topography is read and  
before anything else happens.

STOP  S/R EXCH_RL: myOLn .GT. MAX_OLY_EXCH

I added some print statements to exch_rl.F and get:

(PID.TID 0000.0001) myOLn: 000003
(PID.TID 0000.0001) MAX_OLY_EXCH: 000003
(PID.TID 0000.0001) MAX_OLY_EXCH-myOLn: 000000

So this all looks good.

So, my guess is that the gfortran compiler is somehow not computing GT  
properly for integers.  Has anyone run into this or know of a compiler  
switch to make it behave?

Thanks for any help.

Cheers,  Jody







More information about the MITgcm-support mailing list