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 682 for trunk/NEMO/OPA_SRC/opa.F90 – NEMO

Ignore:
Timestamp:
2007-06-29T18:32:23+02:00 (17 years ago)
Author:
rblod
Message:

nemo_v2_bugfix_050 : SM : Do not call step once one processes have nstop /= 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/opa.F90

    r658 r682  
    9494   !!---------------------------------------------------------------------- 
    9595   !!  OPA 9.0 , LOCEAN-IPSL (2005)  
    96    !! $Header$  
     96   !! $Header: /home/opalod/NEMOCVSROOT/NEMO/OPA_SRC/opa.F90,v 1.38 2007/06/05 10:32:02 opalod Exp $  
    9797   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    9898   !!---------------------------------------------------------------------- 
     
    122122       
    123123      CALL opa_init  ! Initializations 
     124 
     125      ! check that all process are still there... If some process have an error, 
     126      ! they will never enter in step and other processes will wait until the end of the cpu time! 
     127      IF( lk_mpp )   CALL mpp_max(nstop) 
    124128 
    125129      IF( lk_cfg_1d ) THEN  
     
    132136#endif 
    133137            istp = istp + 1 
     138 
     139            IF( lk_mpp )   CALL mpp_max(nstop) 
     140  
    134141         END DO 
    135142      ELSE 
     
    142149#endif 
    143150            istp = istp + 1 
     151 
     152            IF( lk_mpp )   CALL mpp_max(nstop) 
     153             
    144154         END DO 
    145155      ENDIF 
     
    150160      IF(lwp) WRITE(numout,cform_aaa)       ! Flag AAAAAAA 
    151161 
    152       IF( nstop /= 0 ) THEN                 ! error print 
    153       IF(lwp) WRITE(numout,cform_err) 
    154       IF(lwp) WRITE(numout,*) nstop, ' error have been found'  
     162      IF( nstop /= 0 .AND. lwp ) THEN                 ! error print 
     163        WRITE(numout,cform_err) 
     164        WRITE(numout,*) nstop, ' error have been found'  
    155165      ENDIF 
    156166 
Note: See TracChangeset for help on using the changeset viewer.