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 10425 for NEMO/trunk/src/TOP/trcini.F90 – NEMO

Ignore:
Timestamp:
2018-12-19T22:54:16+01:00 (5 years ago)
Author:
smasson
Message:

trunk: merge back dev_r10164_HPC09_ESIWACE_PREP_MERGE@10424 into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/TOP/trcini.F90

    r10375 r10425  
    7272      CALL trc_ice_ini   ! Tracers in sea ice 
    7373      ! 
    74       IF(lwp) CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp , narea ) 
     74      IF(lwm) CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp , narea ) 
    7575      ! 
    7676      CALL trc_ini_state  !  passive tracers initialisation : from a restart or from clim 
     
    119119      END DO 
    120120      !                          ! total volume of the ocean  
    121       areatot = glob_sum( cvol(:,:,:) ) 
     121      areatot = glob_sum( 'trcini', cvol(:,:,:) ) 
    122122      ! 
    123123      trai(:) = 0._wp            ! initial content of all tracers 
    124124      DO jn = 1, jptra 
    125          trai(jn) = trai(jn) + glob_sum( trn(:,:,:,jn) * cvol(:,:,:)   ) 
     125         trai(jn) = trai(jn) + glob_sum( 'trcini', trn(:,:,:,jn) * cvol(:,:,:)   ) 
    126126      END DO 
    127127 
     
    292292#endif 
    293293      ! 
    294       IF( lk_mpp    )   CALL mpp_sum( ierr ) 
     294      CALL mpp_sum( 'trcini', ierr ) 
    295295      IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'top_alloc : unable to allocate standard ocean arrays' ) 
    296296      ! 
Note: See TracChangeset for help on using the changeset viewer.