New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/TRD/trdmxl.F90 – NEMO

Ignore:
Timestamp:
2019-10-29T11:41:36+01:00 (5 years ago)
Author:
acc
Message:

Branch 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. Sette tested updates to branch to align with trunk changes between 10721 and 11740. Sette tests are passing but results differ from branch before these changes (except for GYRE_PISCES and VORTEX) and branch results already differed from trunk because of algorithmic fixes. Will need more checks to confirm correctness.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/TRD/trdmxl.F90

    r10946 r11822  
    735735      REWIND( numnam_ref )              ! Namelist namtrd_mxl in reference namelist : mixed layer trends diagnostic 
    736736      READ  ( numnam_ref, namtrd_mxl, IOSTAT = ios, ERR = 901 ) 
    737 901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtrd_mxl in reference namelist', lwp ) 
     737901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtrd_mxl in reference namelist' ) 
    738738 
    739739      REWIND( numnam_cfg )              ! Namelist namtrd_mxl in configuration namelist : mixed layer trends diagnostic 
    740740      READ  ( numnam_cfg, namtrd_mxl, IOSTAT = ios, ERR = 902 ) 
    741 902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtrd_mxl in configuration namelist', lwp ) 
     741902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtrd_mxl in configuration namelist' ) 
    742742      IF(lwm) WRITE( numond, namtrd_mxl ) 
    743743      ! 
     
    765765 
    766766      IF( MOD( nitend, nn_trd ) /= 0 ) THEN 
    767          WRITE(numout,cform_err) 
    768          WRITE(numout,*) '                Your nitend parameter, nitend = ', nitend 
    769          WRITE(numout,*) '                is no multiple of the trends diagnostics frequency        ' 
    770          WRITE(numout,*) '                          you defined, nn_trd   = ', nn_trd 
    771          WRITE(numout,*) '                This will not allow you to restart from this simulation.  ' 
    772          WRITE(numout,*) '                You should reconsider this choice.                        '  
    773          WRITE(numout,*)  
    774          WRITE(numout,*) '                N.B. the nitend parameter is also constrained to be a     ' 
    775          WRITE(numout,*) '                     multiple of the nn_fsbc parameter ' 
    776          CALL ctl_stop( 'trd_mxl_init: see comment just above' ) 
     767         WRITE(ctmp1,*) '                Your nitend parameter, nitend = ', nitend 
     768         WRITE(ctmp2,*) '                is no multiple of the trends diagnostics frequency        ' 
     769         WRITE(ctmp3,*) '                          you defined, nn_trd   = ', nn_trd 
     770         WRITE(ctmp4,*) '                This will not allow you to restart from this simulation.  ' 
     771         WRITE(ctmp5,*) '                You should reconsider this choice.                        '  
     772         WRITE(ctmp6,*)  
     773         WRITE(ctmp7,*) '                N.B. the nitend parameter is also constrained to be a     ' 
     774         WRITE(ctmp8,*) '                     multiple of the nn_fsbc parameter ' 
     775         CALL ctl_stop( ctmp1, ctmp2, ctmp3, ctmp4, ctmp5, ctmp6, ctmp7, ctmp8 ) 
    777776      END IF 
    778777 
Note: See TracChangeset for help on using the changeset viewer.