Changeset 3626


Ignore:
Timestamp:
Jan 30, 2020, 2:38:10 PM (4 years ago)
Author:
lguez
Message:

Bug fix: use missing_val from XIOS for output with XIOS, else the
operations are not done propoerly in XIOS.

Location:
LMDZ6/branches/Ocean_skin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/arch/arch-X64_JEANZAY.env

    r3617 r3626  
    66
    77module load gcc/6.5.0
    8 module load idrmem/1.4-mpi
  • LMDZ6/branches/Ocean_skin/arch/arch-X64_JEANZAY.fcm

    r3617 r3626  
    1414%OMP_FFLAGS          -qopenmp
    1515%BASE_LD             -i4 -r8 -auto -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread
    16 %MPI_LD              -lidrmem
     16%MPI_LD             
    1717%OMP_LD              -qopenmp
  • LMDZ6/branches/Ocean_skin/libf/phylmd/pbl_surface_mod.F90

    r3605 r3626  
    294294    use phys_state_var_mod, only: ds_ns, dt_ns
    295295    use phys_output_var_mod, only: t_int, s_int, dter, dser, tkt, tks, rf, taur
    296     use netcdf, only: nf90_fill_real
     296#ifdef CPP_XIOS
     297    USE wxios, ONLY: missing_val
     298#else
     299    use netcdf, only: missing_val => nf90_fill_real
     300#endif
    297301
    298302    IMPLICIT NONE
     
    966970
    967971    if (activate_ocean_skin >= 1) then
    968        t_int = nf90_fill_real
    969        s_int = nf90_fill_real
    970        dter = nf90_fill_real
    971        dser = nf90_fill_real
    972        tkt = nf90_fill_real
    973        tks = nf90_fill_real
    974        rf = nf90_fill_real
    975        taur = nf90_fill_real
     972       t_int = missing_val
     973       s_int = missing_val
     974       dter = missing_val
     975       dser = missing_val
     976       tkt = missing_val
     977       tks = missing_val
     978       rf = missing_val
     979       taur = missing_val
    976980    end if
    977981
     
    25662570
    25672571       if (nsrf == is_oce .and. activate_ocean_skin >= 1) then
    2568           dt_ns = nf90_fill_real
    2569           ds_ns = nf90_fill_real
     2572          dt_ns = missing_val
     2573          ds_ns = missing_val
    25702574          ds_ns(ni(:knon)) = yds_ns(:knon)
    25712575          dt_ns(ni(:knon)) = ydt_ns(:knon)
  • LMDZ6/branches/Ocean_skin/libf/phylmd/phyetat0.F90

    r3605 r3626  
    2929  USE ocean_slab_mod, ONLY: nslay, tslab, seaice, tice, ocean_slab_init
    3030  USE time_phylmdz_mod, ONLY: init_iteration, pdtphys, itau_phy
    31   use netcdf, only: nf90_fill_real
     31#ifdef CPP_XIOS
     32  USE wxios, ONLY: missing_val
     33#else
     34  use netcdf, only: missing_val => nf90_fill_real
     35#endif
    3236  use config_ocean_skin_m, only: activate_ocean_skin
    3337
     
    542546
    543547     where (pctsrf(:, is_oce) == 0.)
    544         ds_ns = nf90_fill_real
    545         dt_ns = nf90_fill_real
     548        ds_ns = missing_val
     549        dt_ns = missing_val
    546550     end where
    547551  end if
  • LMDZ6/branches/Ocean_skin/libf/phylmd/phys_output_ctrlout_mod.F90

    r3605 r3626  
    19561956
    19571957   type(ctrl_out), save:: o_ds_ns &
    1958         = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'ds_ns', &
     1958        = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'dS_ns', &
    19591959        "delta salinity near surface", "ppt", '')
    19601960
     
    19681968
    19691969   type(ctrl_out), save:: o_dser &
    1970         = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'dser', &
     1970        = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'dSer', &
    19711971        "salinity variation in the diffusive microlayer", "ppt", '')
    19721972
     
    19771977   type(ctrl_out), save:: o_tks &
    19781978        = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'tks', &
    1979         "thickness os salinity microlayer", "m", '')
     1979        "thickness of salinity microlayer", "m", '')
    19801980
    19811981   type(ctrl_out), save:: o_rf &
Note: See TracChangeset for help on using the changeset viewer.