[MITgcm-support] heat flux at bottom
Martin Losch
Martin.Losch at awi.de
Fri Aug 9 05:04:57 EDT 2013
You need to include the appropriate header file into that routine where these variables are defined. Add a
#include "PARAMS.h"
at the beginning of the routine (not at the beginning of the file)
Alternatively you could fill the field myPa_TendScal1 appropriately in mypackage_calc_rhs, or if the flux is constant in time in mypackage_init_varia.F, but in both case you need to make sure that PARAMS.h is included.
Martin
On Aug 9, 2013, at 10:53 AM, Ronald Cen <zsucxr at gmail.com> wrote:
> Dear All,
> I notice that Jean-MIchel proposed a method to activate heat flux at bottom level (http://mitgcm.org/pipermail/mitgcm-support/2008-August/005627.html). I have tried with this instruction but received the following information when compiling:
> --------------------------------------------------------------------------------------------------
> mypackage_tendency_apply.f:5649.60:
>
> & + bottomHeatFlux(i,j,bi,bj) * recip_Cp*mass2rUnit
> 1
> Error: Symbol 'mass2runit' at (1) has no IMPLICIT type
> mypackage_tendency_apply.f:5649.49:
>
> & + bottomHeatFlux(i,j,bi,bj) * recip_Cp*mass2rUnit
> 1
> Error: Symbol 'recip_cp' at (1) has no IMPLICIT type
> make[1]: *** [mypackage_tendency_apply.o] Error 1
> make[1]: Leaving directory `/lustre/home/xrcen/MITgcm/verification/geothermal/input'
> make: *** [fwd_exe_target] Error 2
> --------------------------------------------------------------------------------------------------
>
> P.S. All my setup were based on the example of verification/tutorial_deep_convection.
> How should I properly solve this problem? Thanks in advance.
>
> --
> Ronald Cen
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list