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 9991 for branches/UKMO/dev_r5518_GO6_fix_key_comp/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_init.F90 – NEMO

Ignore:
Timestamp:
2018-07-24T14:58:18+02:00 (6 years ago)
Author:
frrh
Message:

Fixes to allow MEDUSA to compile with C1D without
the need for multiple (apparently) unrelated CPP keys
merely to satisfy spurious code interdependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_fix_key_comp/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_init.F90

    r9257 r9991  
    3737      USE sms_medusa,        ONLY: jdms 
    3838      USE trc,               ONLY: ln_diatrc, med_diag, nittrc000  
    39       USE in_out_manager,    ONLY: lwp 
    40  
    41 # if defined key_iomput 
    42       USE iom,               ONLY: lk_iomput, numout 
     39      USE in_out_manager,    ONLY: lwp, numout 
     40 
     41      USE iom,               ONLY: lk_iomput 
    4342      USE trcnam_medusa,     ONLY: trc_nam_iom_medusa 
    44 # endif 
     43 
     44      IMPLICIT NONE  
    4545 
    4646      !! time (integer timestep) 
     
    178178      zdic(:,:)  = 0.0 
    179179      zsil(:,:)  = 0.0 
     180# if defined key_mocsy 
     181      ! zpho is only defined if key_mocsy 
     182      ! is active, so we must protect this 
     183      ! initialisation accordingly.  
    180184      zpho(:,:)  = 0.0 
     185# endif 
    181186      f_co2flux(:,:)  = 0.0  
    182187      f_pco2atm(:,:)  = 0.0 
     
    864869CONTAINS 
    865870   SUBROUTINE bio_medusa_init( )                   ! Empty routine 
     871      IMPLICIT NONE 
    866872      WRITE(*,*) 'bio_medusa_init: You should not have seen this print! error?' 
    867873   END SUBROUTINE bio_medusa_init 
Note: See TracChangeset for help on using the changeset viewer.