[MITgcm-support] make errors for contrib model

michael schaferkotter schaferk at bellsouth.net
Thu Jan 3 13:33:12 EST 2013


>        IF ( inAdMode ) THEN                                          
>                     1
> Error: Symbol 'inadmode' at (1) has no IMPLICIT type


> gfortran -fconvert=big-endian -fimplicit-none -fPIC  -O3 -funroll-loops -c gad_calc_rhs.f

                                                        ^^^^^^^^^^^^^

remove the implicit none compiler directive.

inAdMode is defined in model/inc/PARAMS.h and PARAMS.h, is in general, an important file.

seems that PARAMS.h would be 'included'  in the source file.

michael

On Jan 3, 2013, at 10:04 AM, David Porter wrote:

> Hi,
> 
> I have had success building and running many of the verification examples included with the main code.  I am now trying to build/run the contributed content "icefront/2D_example)".  When trying to build this contributed code it in a similar way, the code fails to compile.  Any ideas?
> 
> $ make
> Update AD_CONFIG.h and make ./mitgcmuv
> make -f Makefile ./mitgcmuv
> make[1]: Entering directory `/local/data/gravity/users/dporter/code/MITgcm/verification/icefront/2D_example/build'
> cat gad_calc_rhs.F |  cpp -traditional -P -DWORDLENGTH=4 -DNML_TERMINATOR -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT -DHAVE_NETCDF -DHAVE_FLUSH  -I/local/data/gravity/users/dporter/code/netcdf-3.6.3/include | ../../../../tools/set64bitConst.sh  > gad_calc_rhs.f
> gfortran -fconvert=big-endian -fimplicit-none -fPIC  -O3 -funroll-loops -c gad_calc_rhs.f
> gad_calc_rhs.f:3471.23:
> 
>        IF ( inAdMode ) THEN                                          
>                     1
> Error: Symbol 'inadmode' at (1) has no IMPLICIT type
> make[1]: *** [gad_calc_rhs.o] Error 1
> make[1]: Leaving directory `/local/data/gravity/users/dporter/code/MITgcm/verification/icefront/2D_example/build'
> make: *** [fwd_exe_target] Error 2
> 
> ?
> 
> Thanks for any help you can provide,
> Dave
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list