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 1318 for trunk/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2009-02-17T17:38:18+01:00 (15 years ago)
Author:
smasson
Message:

supress useless call to histsync, see ticket:340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/trcdia.F90

    r1317 r1318  
    213213      END DO 
    214214 
    215       ! synchronise file 
    216       IF( MOD( it, nwritetrc ) == 0 .OR. kindic < 0 )   CALL histsync( nit5 ) 
    217  
    218  
    219215      ! close the file  
    220216      ! -------------- 
     
    445441      END DO 
    446442 
    447       ! synchronise FILE 
    448       IF( MOD( it, nwritetrd ) == 0 .OR. kindic < 0 ) THEN 
    449          DO jn = 1, jptra 
    450             IF (luttrd(jn))   CALL histsync( nit6(jn) ) 
    451          END DO 
    452       ENDIF 
    453  
    454443      ! Closing all files 
    455444      ! ----------------- 
     
    604593         CALL histwrite(nitd, cltra, it, trc2d(:,:,jn), ndimt51  ,ndext51) 
    605594      END DO 
    606  
    607       ! synchronise FILE 
    608       IF( MOD( it, nwritedia ) == 0 .OR. kindic < 0 )   CALL histsync( nitd ) 
    609595 
    610596      ! Closing all files 
     
    734720      END DO 
    735721 
    736       ! synchronise FILE 
    737       IF( MOD( it, nwritebio ) == 0 .OR. kindic < 0 )   CALL histsync( nitb ) 
    738  
    739722      ! Closing all files 
    740723      ! ----------------- 
Note: See TracChangeset for help on using the changeset viewer.