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

Klymak Jody jklymak at uvic.ca
Fri Dec 14 12:41:20 EST 2007


I should have been more complete:

I am using Leopard 10.5.1

i686-apple-darwin9-gcc-4.0.1

% gfortran -v
Using built-in specs.
Target: i386-apple-darwin9.0.0
Configured with: ../gcc-4.3-20071026/configure --enable- 
languages=fortran
Thread model: posix
gcc version 4.3.0 20071026 (experimental) (GCC)

Thanks,  Jody

On Dec 14, 2007, at 9:36 AM, Klymak Jody wrote:

>
> 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