[MITgcm-support] Compile error

Jean-Michel Campin jmc at mit.edu
Fri Sep 9 10:39:43 EDT 2016


Hi Ada,

It might be related to conversion type: real --> real*8
(needed for pkg/atm_phys) that has to be defined & activated in the optfile
or in "genmake_local".
For instance, with optfile linux_amd64_gfortran,
 cpl_gray+ocn/build_atm/genmake_local
will add "-r8" to the compiler flags $FFLAGS
What type of optfile are you using ?

Otherwise, as a first test (and because it's simpler), you could try to compile 
and run the other uncoupled experiment: verification_other/atm_gray
to check that everything is OK with the same optfile.

Cheers,
Jean-Michel

On Fri, Sep 09, 2016 at 04:10:03PM +0200, Ada Gjermundsen wrote:
> Hi,
> I'm trying to compile the coupled ocean - gray atmosphere example
>  ( http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/
> verification_other/cpl_gray%2Bocn/?diff_format=s&hideattic=0&sortby=file&
> sortdir=down&pathrev=checkpoint64k )
> 
> The coupler and the ocean components compile just fine, but I get an error
> message for the atmosphere.
> 
> Many thanks for any tips!
> 
> Ada Gjermundsen
> 
> ../../../../tools/f90mkdepend >> Makefile
> rm -f makedepend.out
>  --- make (atm):
>      I                     sNx,sNy, myTime, lat2d, pHalf3d, t3d, q3d,
> --------------------------------------------^
> atm_phys_driver.f(3744): error #6633: The type of the actual argument
> differs from the type of the dummy argument.   [PHALF3D]
>      I                     sNx,sNy, myTime, lat2d, pHalf3d, t3d, q3d,
> ---------------------------------------------------^
> atm_phys_driver.f(3942): catastrophic error: Too many errors, exiting
> compilation aborted for atm_phys_driver.f (code 1)
> make[1]: *** [atm_phys_driver.o] Error 1
> make[1]: Leaving directory `/cluster/home/adagj/MITgcm_
> c64s/verification/cpl_gray_ocn/build_atm'
> make: *** [fwd_exe_target] Error 2

> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list