Instructions to compile and run a global circulation configuration with NEMO 4.2
Important
Nemo 4.2 is incompatible with XIOS-2.5. This configuration has to be linked against Xios-trunk
- The eOrca1 configuration can be built starting from the shipped reference configuration
ORCA2_ICE_PISCES. First, lets duplicate this configuration with the command
./makenemo -m 'local' -r ORCA2_ICE_PISCES -n 'OrcaDef1' -j 0;where -j 0 sets the number of processors for compilation to 0: with this peculiar choice the command ./makenemo will only duplicate and rename the necessary files without compiling.
- Modify the
cpp_*.fcm: the filecfgs/OrcaDef1/cpp_OrcaDef1.fcmshould contain the following line
bld::tool::fppkeys key_si3 key_xios key_qco key_isf
- Compile the code
./makenemo -m 'local' -r ORCA2_ICE_PISCES -n 'OrcaDef1' -j 32;- Elimination of inner-domain pointers
/home/ftucciarone/ithaca/Orca1/nemo_4.2/cfgs/lu_Orca1/BLD/ppsrc/nemo/tlu_prj.f90:204:18:
204 | zwa1(1:jpim1,2:jpj-1,1:jpk-1) = uin(1:jpim1,1:jpjm1,1:jpkm1) - &
| 1
Error: Symbol ‘jpim1’ at (1) has no IMPLICIT type
/home/ftucciarone/ithaca/Orca1/nemo_4.2/cfgs/lu_Orca1/BLD/ppsrc/nemo/tlu_prj.f90:204:63:
204 | zwa1(1:jpim1,2:jpj-1,1:jpk-1) = uin(1:jpim1,1:jpjm1,1:jpkm1) - &
| 1
Error: Symbol ‘jpjm1’ at (1) has no IMPLICIT type
fcm_internal compile failed (256)jpim1 and jpjm1 has been removed from par_oce.F90. Thus there is the need to instantiate them. Add
INTEGER :: jpim1 !: inner domain indices
INTEGER :: jpjm1 !: - - -
jpim1 = jpi-1
jpjm1 = jpj-1where it is needed:
-
tlu_prj.F90
Tip
Could be interesting to see if those has been substituted by an inner-domain pointer wrt the 2-points halo
- Change of
rn_rdt: it has been renamedrDt(andr1_rDthas been introduced)
/home/ftucciarone/ithaca/Orca1/nemo_4.2/cfgs/lu_Orca1/BLD/ppsrc/nemo/tlu.f90:369:37:
369 | dt_delay = dt_delay / rn_rdt
| 1
Error: Symbol ‘rn_rdt’ at (1) has no IMPLICIT typehas been modified as
!
! Set up the delay
!
dt_delay = dt_delay / rDtnumnam_refandnumnam_cfghave been changed?? Apparently yes, in the nemo4.2 source all theREWIND(numnam_ref)andREWIND(numnam_cfg)are commented out