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

Ignore:
Timestamp:
2009-08-11T12:09:19+02:00 (15 years ago)
Author:
ctlod
Message:

Doctor naming of OPA namelist variables , see ticket: #526

File:
1 edited

Legend:

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

    r1579 r1601  
    139139 
    140140   ! Type of send : standard, buffered, immediate 
    141    CHARACTER(len=1) ::   c_mpi_send = 'S'    ! type od mpi send/recieve (S=standard, B=bsend, I=isend) 
    142    LOGICAL          ::   l_isend = .FALSE.   ! isend use indicator (T if c_mpi_send='I') 
     141   CHARACTER(len=1) ::   cn_mpi_send = 'S'    ! type od mpi send/recieve (S=standard, B=bsend, I=isend) 
     142   LOGICAL          ::   l_isend = .FALSE.   ! isend use indicator (T if cn_mpi_send='I') 
    143143   INTEGER          ::   nn_buffer = 0       ! size of the buffer in case of mpi_bsend  
    144144       
     
    177177      LOGICAL ::   mpi_was_called 
    178178       
    179       NAMELIST/nam_mpp/ c_mpi_send, nn_buffer 
     179      NAMELIST/nammpp/ cn_mpi_send, nn_buffer 
    180180      !!---------------------------------------------------------------------- 
    181181      ! 
     
    183183      WRITE(ldtxt(2),*) 'mynode : mpi initialisation' 
    184184      WRITE(ldtxt(3),*) '~~~~~~ ' 
    185       WRITE(ldtxt(4),*) 
    186185      ! 
    187186      REWIND( numnam )               ! Namelist namrun : parameters of the run 
    188       READ  ( numnam, nam_mpp ) 
     187      READ  ( numnam, nammpp ) 
    189188      !                              ! control print 
    190       WRITE(ldtxt(5),*) '        Namelist nam_mpp' 
    191       WRITE(ldtxt(6),*) '           mpi send type            c_mpi_send = ', c_mpi_send 
     189      WRITE(ldtxt(4),*) '   Namelist nammpp' 
     190      WRITE(ldtxt(5),*) '      mpi send type                      cn_mpi_send = ', cn_mpi_send 
     191      WRITE(ldtxt(6),*) '      size in bytes of exported buffer   nn_buffer   = ', nn_buffer 
    192192 
    193193#if defined key_agrif 
     
    205205         IF( PRESENT(localComm) .and. mpi_was_called ) THEN 
    206206            mpi_comm_opa = localComm 
    207             SELECT CASE ( c_mpi_send ) 
     207            SELECT CASE ( cn_mpi_send ) 
    208208            CASE ( 'S' )                ! Standard mpi send (blocking) 
    209209               WRITE(ldtxt(7),*) '           Standard blocking mpi send (send)' 
     
    216216            CASE DEFAULT 
    217217               WRITE(ldtxt(7),cform_err) 
    218                WRITE(ldtxt(8),*) '           bad value for c_mpi_send = ', c_mpi_send 
     218               WRITE(ldtxt(8),*) '           bad value for cn_mpi_send = ', cn_mpi_send 
    219219               nstop = nstop + 1 
    220220            END SELECT 
     
    225225         ELSE 
    226226#endif 
    227             SELECT CASE ( c_mpi_send ) 
     227            SELECT CASE ( cn_mpi_send ) 
    228228            CASE ( 'S' )                ! Standard mpi send (blocking) 
    229229               WRITE(ldtxt(7),*) '           Standard blocking mpi send (send)' 
     
    238238            CASE DEFAULT 
    239239               WRITE(ldtxt(7),cform_err) 
    240                WRITE(ldtxt(8),*) '           bad value for c_mpi_send = ', c_mpi_send 
     240               WRITE(ldtxt(8),*) '           bad value for cn_mpi_send = ', cn_mpi_send 
    241241               nstop = nstop + 1 
    242242            END SELECT 
     
    254254#if defined key_agrif 
    255255      ELSE 
    256          SELECT CASE ( c_mpi_send ) 
     256         SELECT CASE ( cn_mpi_send ) 
    257257         CASE ( 'S' )                ! Standard mpi send (blocking) 
    258258            WRITE(ldtxt(7),*) '           Standard blocking mpi send (send)' 
     
    264264         CASE DEFAULT 
    265265            WRITE(ldtxt(7),cform_err) 
    266             WRITE(ldtxt(8),*) '           bad value for c_mpi_send = ', c_mpi_send 
     266            WRITE(ldtxt(8),*) '           bad value for cn_mpi_send = ', cn_mpi_send 
    267267            nstop = nstop + 1 
    268268         END SELECT 
     
    10441044      !!---------------------------------------------------------------------- 
    10451045      ! 
    1046       SELECT CASE ( c_mpi_send ) 
     1046      SELECT CASE ( cn_mpi_send ) 
    10471047      CASE ( 'S' )                ! Standard mpi send (blocking) 
    10481048         CALL mpi_send ( pmess, kbytes, mpi_double_precision, kdest , ktyp, mpi_comm_opa        , iflag ) 
Note: See TracChangeset for help on using the changeset viewer.