[MITgcm-support] strange FORTRAN error

Matthew Mazloff mmazloff at ucsd.edu
Tue May 21 18:14:08 EDT 2013


you can add the CPP option in your optfile:
 -D_d=D

e.g. something like:

CPP='cpp -P -traditional -D_d=D'

-Matt


On May 21, 2013, at 1:26 PM, Neil Patel <nigellius at gmail.com> wrote:

> when trying to compile the mitgcm using gfortran I get:
> 
> gfortran   -c adams_bashforth2.F
> EEPARAMS.h:77.35:
>    Included at adams_bashforth2.F:27:
> 
>      PARAMETER ( zeroRS = 0.0 _d 0 , oneRS  = 1.0 _d 0 )               
>                                   1
> Error: Missing kind-parameter at (1)
> EEPARAMS.h:78.35:
>    Included at adams_bashforth2.F:27:
> 
>      PARAMETER ( twoRS  = 2.0 _d 0 , halfRS = 0.5 _d 0 )               
>                                   1
> Error: Missing kind-parameter at (1)
> 
> and then several other very similar error messages. Anyone know the cause? Processor is a Intel(R) Xeon(R) CPU E5-4617 0 @ 2.90GHz if that makes a difference.
> 
> Thanks!
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list