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 3827 – NEMO

Changeset 3827


Ignore:
Timestamp:
2013-03-06T10:01:26+01:00 (11 years ago)
Author:
cetlod
Message:

v3.5alpha: Add missing IF(lwp) before writing in numout, see ticket #1066

Location:
branches/2012/dev_MERGE_2012/NEMOGCM/NEMO
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OFF_SRC/dtadyn.F90

    r3687 r3827  
    164164         IF(  kt /= nit000 .AND. ( sf_dyn(jf_tem)%nrec_a(2) - nrecprev_tem ) /= 0 )  iswap_tem = 1 
    165165         IF( ( isecsbc > sf_dyn(jf_tem)%nrec_b(2) .AND. iswap_tem == 1 ) .OR. kt == nit000 )  THEN    ! read/update the after data 
    166             write(numout,*) 
    167             write(numout,*) ' Compute new slopes at kt = ', kt 
     166            IF(lwp) WRITE(numout,*) ' Compute new slopes at kt = ', kt 
    168167            IF( sf_dyn(jf_tem)%ln_tint ) THEN                 ! time interpolation of data 
    169168               IF( kt /= nit000 ) THEN 
     
    214213         IF(  kt /= nit000 .AND. ( sf_dyn(jf_uwd)%nrec_a(2) - nrecprev_uwd ) /= 0 )  iswap_uwd = 1 
    215214         IF( ( isecsbc > sf_dyn(jf_uwd)%nrec_b(2) .AND. iswap_uwd == 1 ) .OR. kt == nit000 )  THEN    ! read/update the after data 
    216             write(numout,*) 
    217             write(numout,*) ' Compute new vertical velocity at kt = ', kt 
    218             write(numout,*) 
     215            IF(lwp) WRITE(numout,*) ' Compute new vertical velocity at kt = ', kt 
     216            IF(lwp) WRITE(numout,*) 
    219217            IF( sf_dyn(jf_uwd)%ln_tint ) THEN                 ! time interpolation of data 
    220218               IF( kt /= nit000 )  THEN 
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90

    r3769 r3827  
    8080      CALL nemo_init  ! Initializations 
    8181 
    82       IF( lk_mpp )   CALL mpp_max( nstop ) 
    83  
    8482      ! check that all process are still there... If some process have an error, 
    8583      ! they will never enter in step and other processes will wait until the end of the cpu time! 
     
    9088      !                            !-----------------------! 
    9189      istp = nit000 
    92          ! 
     90      !  
    9391      CALL iom_init            ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
     92      !  
    9493      DO WHILE ( istp <= nitend .AND. nstop == 0 )    ! time stepping 
    9594         ! 
     
    121120      ! 
    122121# if defined key_iomput 
    123          CALL xios_finalize             ! end mpp communications 
     122      CALL xios_finalize             ! end mpp communications 
    124123# else 
    125124      IF( lk_mpp )   CALL mppstop       ! end mpp communications 
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/TOP_SRC/trcdta.F90

    r3294 r3827  
    8585      ! 
    8686      ntra = MAX( 1, nb_trcdta )   ! To avoid compilation error with bounds checking 
    87       WRITE(numout,*) ' ' 
    88       WRITE(numout,*) ' number of passive tracers to be initialize by data :', ntra 
    89       WRITE(numout,*) ' ' 
     87      IF(lwp) THEN 
     88         WRITE(numout,*) ' ' 
     89         WRITE(numout,*) ' number of passive tracers to be initialize by data :', ntra 
     90         WRITE(numout,*) ' ' 
     91      ENDIF 
    9092      !                         ! allocate the arrays (if necessary) 
    9193      ! 
Note: See TracChangeset for help on using the changeset viewer.