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 4990 for trunk/NEMOGCM/NEMO/OPA_SRC/IOM – NEMO

Ignore:
Timestamp:
2014-12-15T17:42:49+01:00 (9 years ago)
Author:
timgraham
Message:

Merged branches/2014/dev_MERGE_2014 back onto the trunk as follows:

In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
1 conflict in LIM_SRC_3/limdiahsb.F90
Resolved by keeping the version from dev_MERGE_2014 branch
and commited at r4989

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2014/dev_MERGE_2014
to merge the branch into the trunk - no conflicts at this stage.

Location:
trunk/NEMOGCM/NEMO/OPA_SRC/IOM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90

    r4624 r4990  
    111111   INTEGER ::   numstp          =   -1      !: logical unit for time step 
    112112   INTEGER ::   numtime         =   -1      !: logical unit for timing 
    113    INTEGER ::   numout          =    6      !: logical unit for output print 
     113   INTEGER ::   numout          =    6      !: logical unit for output print; Set to stdout to ensure any early 
     114                                            !  output can be collected; do not change 
    114115   INTEGER ::   numnam_ref      =   -1      !: logical unit for reference namelist 
    115116   INTEGER ::   numnam_cfg      =   -1      !: logical unit for configuration specific namelist 
    116    INTEGER ::   numond          =    7      !: logical unit for Output Namelist Dynamics 
     117   INTEGER ::   numond          =   -1      !: logical unit for Output Namelist Dynamics 
    117118   INTEGER ::   numnam_ice_ref  =   -1      !: logical unit for ice reference namelist 
    118119   INTEGER ::   numnam_ice_cfg  =   -1      !: logical unit for ice reference namelist 
    119    INTEGER ::   numoni          =    8      !: logical unit for Output Namelist Ice 
     120   INTEGER ::   numoni          =   -1      !: logical unit for Output Namelist Ice 
    120121   INTEGER ::   numevo_ice      =   -1      !: logical unit for ice variables (temp. evolution) 
    121122   INTEGER ::   numsol          =   -1      !: logical unit for solver statistics 
  • trunk/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r4691 r4990  
    11661166   SUBROUTINE iom_context_finalize( cdname ) 
    11671167      CHARACTER(LEN=*), INTENT(in) :: cdname 
    1168       !      
    1169       CALL iom_swap( cdname )   ! swap to cdname context 
    1170       CALL xios_context_finalize() ! finalize the context 
    1171       IF( cdname /= "nemo" ) CALL iom_swap( "nemo" )   ! return back to nemo context 
     1168      ! 
     1169      IF( xios_is_valid_context(cdname) ) THEN 
     1170         CALL iom_swap( cdname )   ! swap to cdname context 
     1171         CALL xios_context_finalize() ! finalize the context 
     1172         IF( cdname /= "nemo" ) CALL iom_swap( "nemo" )   ! return back to nemo context 
     1173      ENDIF 
    11721174      ! 
    11731175   END SUBROUTINE iom_context_finalize 
  • trunk/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r4693 r4990  
    2222   USE iom             ! I/O module 
    2323   USE eosbn2          ! equation of state            (eos bn2 routine) 
    24    USE trdmld_oce      ! ocean active mixed layer tracers trends variables 
     24   USE trdmxl_oce      ! ocean active mixed layer tracers trends variables 
    2525   USE divcur          ! hor. divergence and curl      (div & cur routines) 
    2626   USE sbc_ice, ONLY : lk_lim3 
     
    120120                     CALL iom_rstput( kt, nitrst, numrow, 'hdivb'  , hdivb     ) 
    121121                     CALL iom_rstput( kt, nitrst, numrow, 'sshb'   , sshb      ) 
     122                     ! 
    122123      IF( lk_lim3 )  CALL iom_rstput( kt, nitrst, numrow, 'fse3t_b', fse3t_b(:,:,:) ) 
    123124                     ! 
     
    134135#endif 
    135136                  IF( lk_lim3 ) THEN 
    136                      CALL iom_rstput( kt, nitrst, numrow, 'iatte'  , iatte     ) !clem modif 
    137                      CALL iom_rstput( kt, nitrst, numrow, 'oatte'  , oatte     ) !clem modif 
     137                     CALL iom_rstput( kt, nitrst, numrow, 'fraqsr_1lev'  , fraqsr_1lev     ) !clem modif 
    138138                  ENDIF 
    139139      IF( kt == nitrst ) THEN 
    140140         CALL iom_close( numrow )     ! close the restart file (only at last time step) 
    141          IF( .NOT. lk_trdmld )   lrst_oce = .FALSE. 
     141!!gm         IF( .NOT. lk_trdmld )   lrst_oce = .FALSE. 
     142!!gm  not sure what to do here   ===>>>  ask to Sebastian 
     143         lrst_oce = .FALSE. 
    142144      ENDIF 
    143145      ! 
    144146   END SUBROUTINE rst_write 
     147 
    145148 
    146149   SUBROUTINE rst_read_open 
     
    156159      LOGICAL  ::   llok 
    157160      !!---------------------------------------------------------------------- 
    158  
    159       IF( numror .LE. 0 ) THEN 
     161      ! 
     162      IF( numror <= 0 ) THEN 
    160163         IF(lwp) THEN                                             ! Contol prints 
    161164            WRITE(numout,*) 
     
    247250         hdivb(:,:,:)   = hdivn(:,:,:) 
    248251         sshb (:,:)     = sshn (:,:) 
    249          IF( lk_lim3 ) THEN 
     252 
     253         IF( lk_vvl ) THEN 
    250254            DO jk = 1, jpk 
    251255               fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 
    252256            END DO 
    253257         ENDIF 
     258 
     259         IF( lk_lim3 .AND. .NOT. lk_vvl ) THEN 
     260            DO jk = 1, jpk 
     261               fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 
     262            END DO 
     263         ENDIF 
     264 
    254265      ENDIF 
    255266      ! 
    256267      IF( lk_lim3 ) THEN 
    257          CALL iom_get( numror, jpdom_autoglo, 'iatte' , iatte ) ! clem modif 
    258          CALL iom_get( numror, jpdom_autoglo, 'oatte' , oatte ) ! clem modif 
     268         CALL iom_get( numror, jpdom_autoglo, 'fraqsr_1lev' , fraqsr_1lev ) 
    259269      ENDIF 
    260270      ! 
Note: See TracChangeset for help on using the changeset viewer.