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 1920 for branches/DEV_1879_mpp_rep/NEMO/OPA_SRC/opa.F90 – NEMO

Ignore:
Timestamp:
2010-06-07T13:45:58+02:00 (14 years ago)
Author:
rblod
Message:

Add modifications for mpp reproducibility, see ticket #677

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_1879_mpp_rep/NEMO/OPA_SRC/opa.F90

    r1793 r1920  
    156156      CALL opa_closefile 
    157157#if defined key_oasis3 || defined key_oasis4 
    158       IF( Agrif_Root() ) THEN 
    159          CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
    160      ENDIF  
     158      CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
    161159#else 
    162160      IF( lk_mpp )   CALL mppstop       ! end mpp communications 
     
    180178      !! 
    181179      NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
    182          &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle, nn_bench, nn_bit_cmp 
     180         &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle, nn_bench 
    183181      !!---------------------------------------------------------------------- 
    184182      ! 
     
    193191#if defined key_iomput 
    194192# if defined key_oasis3 || defined key_oasis4 
    195       IF( Agrif_Root() ) THEN 
    196          CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
    197          CALL init_ioclient()                    ! io_server will get its communicators (if needed) from oasis (we don't see it) 
    198       ENDIF 
     193      CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
     194      CALL init_ioclient()                    ! io_server will get its communicators (if needed) from oasis (we don't see it) 
    199195# else 
    200       IF( Agrif_Root() ) THEN 
    201          CALL init_ioclient( ilocal_comm )       ! nemo local communicator (used or not) given by the io_server 
    202       ENDIF 
     196      CALL init_ioclient( ilocal_comm )       ! nemo local communicator (used or not) given by the io_server 
    203197# endif 
    204198      narea = mynode( cltxt, ilocal_comm )    ! Nodes selection 
     
    206200#else 
    207201# if defined key_oasis3 || defined key_oasis4 
    208       IF( Agrif_Root() ) THEN 
    209          CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
    210       ENDIF 
     202      CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
    211203      narea = mynode( cltxt, ilocal_comm )    ! Nodes selection (control print return in cltxt) 
    212204# else 
     
    312304         WRITE(numout,*) '      number of proc. following j     nn_jsplt   = ', nn_jsplt 
    313305         WRITE(numout,*) '      benchmark parameter (0/1)       nn_bench   = ', nn_bench 
    314          WRITE(numout,*) '      bit comparison mode (0/1)       nn_bit_cmp = ', nn_bit_cmp 
    315306      ENDIF 
    316307 
     
    323314      jsplt     = nn_jsplt 
    324315      nbench    = nn_bench 
    325       nbit_cmp  = nn_bit_cmp 
    326316 
    327317      !                           ! Parameter control 
     
    372362      ENDIF 
    373363 
    374       IF( nbit_cmp == 1 )   THEN          ! Bit compare 
    375          CALL ctl_warn( ' Bit comparison enabled. Single and multiple processor results must bit compare', & 
    376               &         ' WARNING: RESULTS ARE NOT PHYSICAL.' ) 
    377       ENDIF 
    378  
    379364      REWIND( numnam )              ! Read Namelist namdyn_hpg : ln_dynhpg_imp must be read at the initialisation phase 
    380365      READ  ( numnam, namdyn_hpg ) 
Note: See TracChangeset for help on using the changeset viewer.