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 14 for trunk/NEMO – NEMO

Changeset 14 for trunk/NEMO


Ignore:
Timestamp:
2004-02-17T08:20:06+01:00 (20 years ago)
Author:
opalod
Message:

CT : BUGFIX001 : Compilation error is solved

File:
1 edited

Legend:

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

    r3 r14  
    2727   LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .TRUE.   !: coupled flag 
    2828 
    29    INTEGER, PARAMETER ::   & 
     29   INTEGER, PARAMETER ::   &  !:   
    3030      jpmaxfld = 40        &  !: Number of maximum fields exchange betwwen 
    3131      !                       ! the ocean and the coupler 
     
    3535   !! ----------- 
    3636 
    37    INTEGER, PARAMETER ::   & 
     37   INTEGER, PARAMETER ::   &  !: 
    3838      jpbyteint = 4,       &  !: number of bytes per integer 
    3939      jpbyterea = 8,       &  !: number of bytes per real 
    4040      jpbytecha = 1           !: number of bytes per character   
    4141 
    42    INTEGER, PARAMETER ::   & 
     42   INTEGER, PARAMETER ::   &  !: 
    4343      jptest = 100         &  !: The models will test during 2*jptest  
    4444      !                       ! seconds if the file DUMMY_SIPC has been 
     
    5050   !! ----------- 
    5151 
    52    INTEGER, PARAMETER ::   & 
     52   INTEGER, PARAMETER ::   &  !: 
    5353      jpread = 0,          &  !:  
    5454      jpwrit = 1              !:  
     
    209209 
    210210#  if defined key_ice_lim 
    211    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     211   REAL(wp), DIMENSION(jpi,jpj) ::   &  !: 
    212212      watm        ,    &  !: 
    213213      tatm        ,    &  !: 
     
    219219   !! Coupling 
    220220 
    221    INTEGER :: 
    222       npioc       ,    &  ! process-id of ocean PROGRAM 
    223       nexco       ,    &  ! exchange frequency for fluxes 
    224       nmodcpl     ,    &  ! coupling mode 
    225       nflxc2o     ,    &  ! fluxes field number coupler to ocean 
    226       ntauc2o     ,    &  ! stress field number coupler to ocean 
    227       nfldo2c             ! surface field number ocean to coupler 
    228    INTEGER :: 
    229       numlhf = 31 ,    &  ! unit to transfer fluxes 
    230       numlws = 32 ,    &  ! unit to transfer stress 
    231       numlts = 34 ,    &  ! unit to transfer sst 
    232       numlic = 35         ! unit to transfer ice cover 
    233  
    234    CHARACTER(len=4) ::   cchan       ! type of message passing (pipe or clim)  
    235    CHARACTER(len=6) ::   cplmodnam   ! model name 
    236    CHARACTER(len=5) ::   cploasis    ! coupler name 
    237  
    238    CHARACTER(len=8), DIMENSION(jpmaxfld) ::    
    239       cpl_f_readflx,   &  ! coupler to ocean file name for flx.coupled 
    240       cpl_f_readtau,   &  ! coupler to ocean file name for tau.coupled 
    241       cpl_f_writ   ,   &  ! ocean to coupler file name for stp_cmo 
    242       cpl_readflx  ,   &  ! coupler to ocean field name for flx.coupled 
    243       cpl_readtau  ,   &  ! coupler to ocean field name for tau.coupled 
    244       cpl_writ            ! ocean to coupler field name for stp_cmo 
    245  
    246   REAL(wp), DIMENSION(jpi,jpj) ::   & 
    247       sstoc,     &  ! work array to average sst 
    248       sieoc,     &  ! work array to average Ice index 
    249       alboc,     &  ! work array to average Ice Albedo 
    250       ticoc         ! work array to average Ice temperature 
     221   INTEGER ::          &  !: 
     222      npioc       ,    &  !: process-id of ocean PROGRAM 
     223      nexco       ,    &  !: exchange frequency for fluxes 
     224      nmodcpl     ,    &  !: coupling mode 
     225      nflxc2o     ,    &  !: fluxes field number coupler to ocean 
     226      ntauc2o     ,    &  !: stress field number coupler to ocean 
     227      nfldo2c             !: surface field number ocean to coupler 
     228 
     229   CHARACTER(len=4) ::   cchan       !: type of message passing (pipe or clim)  
     230   CHARACTER(len=6) ::   cplmodnam   !: model name 
     231   CHARACTER(len=5) ::   cploasis    !: coupler name 
     232 
     233   CHARACTER(len=8), DIMENSION(jpmaxfld) ::   &  !: 
     234      cpl_f_readflx,   &  !: coupler to ocean file name for flx.coupled 
     235      cpl_f_readtau,   &  !: coupler to ocean file name for tau.coupled 
     236      cpl_f_writ   ,   &  !: ocean to coupler file name for stp_cmo 
     237      cpl_readflx  ,   &  !: coupler to ocean field name for flx.coupled 
     238      cpl_readtau  ,   &  !: coupler to ocean field name for tau.coupled 
     239      cpl_writ            !: ocean to coupler field name for stp_cmo 
     240 
     241  REAL(wp), DIMENSION(jpi,jpj) ::   &  !: 
     242      sstoc,     &  !: work array to average sst 
     243      sieoc,     &  !: work array to average Ice index 
     244      alboc,     &  !: work array to average Ice Albedo 
     245      ticoc         !: work array to average Ice temperature 
    251246 
    252247 
     
    255250   !! variables describing pools formed of shared memory segments  
    256251 
    257    INTEGER ::   & 
    258       mpoolinitr,  &  ! handles associated to model pools for passing 
    259       mpoolinitw      ! initial info (r=read, w=write) 
    260  
    261    INTEGER, DIMENSION(jpmaxfld) :: 
    262       mpoolwrit,   &  ! handles associated to pools used to pass fields 
    263       !               ! exchanged from model to coupler  
    264       !               ! (see libsipc/SIPC_Write_Model.f) 
    265       mpoolread       ! handles associated to pools used to pass fields 
    266       !               ! exchanged from model to coupler 
    267       !               ! (see libsipc/SIPC_Read_Model.f) 
     252   INTEGER ::   &  !: 
     253      mpoolinitr,  &  !: handles associated to model pools for passing 
     254      mpoolinitw      !: initial info (r=read, w=write) 
     255 
     256   INTEGER, DIMENSION(jpmaxfld) ::   &  !: 
     257      mpoolwrit,   &  !: handles associated to pools used to pass fields 
     258      !               !  exchanged from model to coupler  
     259      !               !  (see libsipc/SIPC_Write_Model.f) 
     260      mpoolread       !: handles associated to pools used to pass fields 
     261      !               !  exchanged from model to coupler 
     262      !               !  (see libsipc/SIPC_Read_Model.f) 
     263 
    268264#else 
    269265   !!---------------------------------------------------------------------- 
     
    271267   !!---------------------------------------------------------------------- 
    272268   !!   Empty module 
    273    LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .FALSE. 
     269   LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .FALSE.   !: coupled flag 
    274270#endif 
     271 
    275272   !!---------------------------------------------------------------------- 
    276273END MODULE cpl_oce 
Note: See TracChangeset for help on using the changeset viewer.