Ignore:
Timestamp:
Jul 10, 2023, 1:40:39 AM (12 months ago)
Author:
yann meurdesoif
Message:

Suppress usage of preprocessing key CPP_XIOS.
Wrapper file is used to suppress XIOS symbol when xios is not linked and not used (-io ioipsl)
The CPP_XIOS key is replaced in model by "using_xios" boolean variable to switch between IOIPSL or XIOS output.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/pbl_surface_mod.F90

    r4531 r4619  
    412412    use phys_output_var_mod, only: tkt, tks, taur, sss
    413413    use blowing_snow_ini_mod, only : zeta_bs
    414 #ifdef CPP_XIOS
    415     USE wxios, ONLY: missing_val
    416 #else
    417     use netcdf, only: missing_val => nf90_fill_real
    418 #endif
    419 
    420      
    421 
     414    USE wxios, ONLY: missing_val_xios => missing_val, using_xios
     415    use netcdf, only: nf90_fill_real
    422416
    423417    IMPLICIT NONE
     
    944938    REAL, DIMENSION(klon)       :: uzon_w, vmer_w, speed_w, zri1_w, pref_w !speed_w, zri1_w, pref_w, added by Fuxing WANG, 04/03/2015
    945939    REAL, DIMENSION(klon)       :: zgeo1_w, tair1_w, qair1_w, tairsol_w
    946 
     940   
    947941!!! jyg le 25/03/2013
    948942!!    Variables intermediaires pour le raccord des deux colonnes \`a la surface
     
    10511045    ! compression of delta_sst, delta_sal, ds_ns, dt_ns, dter, dser,
    10521046    ! dt_ds, tkt, tks, taur, sss on ocean points
    1053 
     1047    REAL :: missing_val
    10541048#ifdef ISO
    10551049    REAL, DIMENSION(klon)       :: h1
     
    10631057! End of declarations
    10641058!****************************************************************************************
    1065 
     1059   
    10661060      IF (prt_level >=10) print *,' -> pbl_surface, itap ',itap
     1061     
     1062      IF (using_xios) THEN
     1063        missing_val = missing_val_xios
     1064      ELSE
     1065        missing_val = nf90_fill_real
     1066      ENDIF
    10671067!
    10681068!!jyg      iflag_split = mod(iflag_pbl_split,2)
Note: See TracChangeset for help on using the changeset viewer.