Changeset 3258


Ignore:
Timestamp:
Mar 13, 2018, 2:44:57 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Forgot the definition of the new diagnostics
XIOS/OMP problem resolved

Location:
LMDZ6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/DefLists/field_def_lmdz.xml

    r3221 r3258  
    235235        <field id="uq"    long_name="Zonal humidity transport"    unit="-" />
    236236        <field id="vq"    long_name="Merid humidity transport"    unit="-" />
     237        <field id="uwat"    long_name="Zonal total water transport"    unit="-" />
     238        <field id="vwat"    long_name="Merid total water transport"    unit="-" />
    237239        <field id="cape"    long_name="Conv avlbl pot ener"    unit="J/kg" />
    238240        <field id="pbase"    long_name="Cld base pressure"    unit="Pa" />
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3257 r3258  
    48264826      dryaod_diag=.FALSE.
    48274827      ok_4xCO2atm= .FALSE.
    4828       if (is_master) write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm
    4829 
    4830        !--setting up swaero_diag to TRUE in XIOS case
    4831        IF (xios_field_is_active("topswad").OR.xios_field_is_active("topswad0").OR. &
     4828!      write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm
     4829
     4830      IF (is_master) then
     4831        !--setting up swaero_diag to TRUE in XIOS case
     4832        IF (xios_field_is_active("topswad").OR.xios_field_is_active("topswad0").OR. &
    48324833           xios_field_is_active("solswad").OR.xios_field_is_active("solswad0").OR. &
    48334834           xios_field_is_active("topswai").OR.xios_field_is_active("solswai").OR.  &
     
    48384839           swaero_diag=.TRUE.
    48394840
    4840        !--setting up swaerofree_diag to TRUE in XIOS case
    4841        IF (xios_field_is_active("SWdnSFCcleanclr").OR.xios_field_is_active("SWupSFCcleanclr").OR. &
     4841        !--setting up swaerofree_diag to TRUE in XIOS case
     4842        IF (xios_field_is_active("SWdnSFCcleanclr").OR.xios_field_is_active("SWupSFCcleanclr").OR. &
    48424843           xios_field_is_active("SWupTOAcleanclr").OR.xios_field_is_active("rsucsaf").OR.   &
    48434844           xios_field_is_active("rsdcsaf") .OR. xios_field_is_active("LWdnSFCcleanclr").OR. &
     
    48454846           swaerofree_diag=.TRUE.
    48464847
    4847        !--setting up dryaod_diag to TRUE in XIOS case
    4848        DO naero = 1, naero_tot-1
     4848        !--setting up dryaod_diag to TRUE in XIOS case
     4849        DO naero = 1, naero_tot-1
    48494850         IF (xios_field_is_active("dryod550_"//name_aero_tau(naero))) dryaod_diag=.TRUE.
    4850        ENDDO
    4851        !
    4852        !--setting up ok_4xCO2atm to TRUE in XIOS case
    4853        IF (xios_field_is_active("rsut4co2").OR.xios_field_is_active("rlut4co2").OR. &
     4851        ENDDO
     4852        !
     4853        !--setting up ok_4xCO2atm to TRUE in XIOS case
     4854        IF (xios_field_is_active("rsut4co2").OR.xios_field_is_active("rlut4co2").OR. &
    48544855           xios_field_is_active("rsutcs4co2").OR.xios_field_is_active("rlutcs4co2").OR. &
    48554856           xios_field_is_active("rsu4co2").OR.xios_field_is_active("rsucs4co2").OR. &
     
    48584859           xios_field_is_active("rld4co2").OR.xios_field_is_active("rldcs4co2")) &
    48594860           ok_4xCO2atm=.TRUE.
    4860       if (is_master) write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm
     4861      endif
     4862      !$OMP BARRIER
     4863      call bcast(swaero_diag)
     4864      call bcast(swaerofree_diag)
     4865      call bcast(dryaod_diag)
     4866      call bcast(ok_4xCO2atm)
     4867!      write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm
    48614868#endif
    48624869    endif
Note: See TracChangeset for help on using the changeset viewer.