id summary reporter owner description type status priority milestone component version severity resolution keywords cc
1788 C1D_PAPA with TOP do not compile lovato lovato "
= Context =
Use the 1D configuration with [[html(OPA)]] and [[html(TOP)]] in [[html(NEMO)]]3.6 (and trunk) generate compilation bug.
= Analysis =
The bug arise in the module trcsub, when accessing with use only instance to the memory of zdfgls
{{{
21 #if defined key_zdfgls
22 USE zdfgls, ONLY: en
23 #endif
}}}
= Fix =
The simplest solution is to remove the use only of memory in the 3.6_stable code and also in the trunk
{{{
21 #if defined key_zdfgls
22 USE zdfgls
23 #endif
}}}
In addition, also the step subroutine of [[html(C1D)]] should be updated to properly initialize xios information
{{{
NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90
@@ -59,9 +59,9 @@ CONTAINS
!! ---------------------------------------------------------------------
indic = 0 ! reset to no error condition
- IF( kstp == nit000 ) CALL iom_init( ""nemo"") ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS)
+ IF( kstp == nit000 ) CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS)
IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init)
- CALL iom_setkt( kstp - nit000 + 1, ""nemo"" ) ! say to iom that we are at time step kstp
+ CALL iom_setkt( kstp - nit000 + 1, cxios_context ) ! say to iom that we are at time step kstp
}}}
" Bug closed lowest Unscheduled TOP v3.6 fixed C1D Miscellaneous TOP v3.6 lovato timgraham