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 2335 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/FLO/flowri.F90 – NEMO

Ignore:
Timestamp:
2010-10-29T09:39:51+02:00 (13 years ago)
Author:
gm
Message:

v3.3beta: Suppress obsolete key_mpp_shmem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/FLO/flowri.F90

    r2287 r2335  
    88   !!   NEMO      1.0  ! 2002-11  (G. Madec, A. Bozec)  F90: Free form and module 
    99   !!---------------------------------------------------------------------- 
    10  
    1110#if   defined key_floats   ||   defined key_esopa 
    1211   !!---------------------------------------------------------------------- 
     
    3433   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    3534   !! $Id$  
    36    !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    37    !!---------------------------------------------------------------------- 
    38  
     35   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     36   !!---------------------------------------------------------------------- 
    3937CONTAINS 
    4038 
     
    5250      CHARACTER (len=21) ::  clname 
    5351      INTEGER ::   inum   ! temporary logical unit for restart file 
    54       INTEGER ::   iafl, ibfl, icfl, ia1fl, ib1fl, ic1fl, jfl, irecflo,   & 
     52      INTEGER ::   iafl, ibfl, icfl, ia1fl, ib1fl, ic1fl, jfl, irecflo 
    5553      INTEGER ::   iafloc, ibfloc, ia1floc, ib1floc, iafln, ibfln 
    5654      INTEGER  ::    ic, jc , jpn 
    57       INTEGER, DIMENSION ( jpnij )  :: iproc 
    58  
    59       REAL(wp) :: zafl,zbfl,zcfl,zdtj 
    60       REAL(wp) :: zxxu, zxxu_01,zxxu_10, zxxu_11 
    61       REAL(wp), DIMENSION (jpk,jpnfl) :: ztemp, zsal 
     55      INTEGER, DIMENSION ( jpnij )  ::   iproc 
     56      REAL(wp) ::   zafl,zbfl,zcfl,zdtj 
     57      REAL(wp) ::   zxxu, zxxu_01,zxxu_10, zxxu_11 
     58      REAL(wp), DIMENSION (jpk,jpnfl) ::   ztemp, zsal   ! 2D workspace 
    6259      !!--------------------------------------------------------------------- 
    6360       
     
    7471         ! open the file numflo  
    7572         CALL ctl_opn( numflo, 'trajec_float', 'REPLACE', 'UNFORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) 
    76          !      REWIND numflo 
    7773 
    7874         IF( kt == nit000 ) THEN 
     
    8076            IF(lwp) WRITE(numflo)cexper,no,irecflo,jpnfl,nn_writefl 
    8177         ENDIF 
    82          zdtj = rdt / 86400.      !!bug   use of 86400 instead of the phycst parameter 
     78         zdtj = rdt / 86400._wp 
    8379 
    8480         ! translation of index position in geographical position 
     
    195191      !         iafln=NINT(tpifl(jfl)) 
    196192      !         ibfln=NINT(tpjfl(jfl)) 
    197       !# if defined key_mpp_mpi   ||   defined key_mpp_shmem 
     193      !# if defined key_mpp_mpi    
    198194      !        IF ( (iafl >= (mig(nldi)-jpizoom+1)) .AND. 
    199195      !     $       (iafl <= (mig(nlei)-jpizoom+1)) .AND. 
     
    214210      !         ztemp(jfl)=tn(iafloc,ibfloc,jk) 
    215211      !         zsal(jfl)=sn(iaflo!,ibfloc,jk) 
    216       !# if defined key_mpp_mpi   ||   defined key_mpp_shmem 
     212      !# if defined key_mpp_mpi    
    217213      !        ELSE 
    218214      !         ztemp(jfl) = 0. 
     
    298294 
    299295      IF( kt == nitend )   CLOSE( numflo )  
    300      
     296      ! 
    301297   END SUBROUTINE flo_wri 
    302298 
Note: See TracChangeset for help on using the changeset viewer.