Ignore:
Timestamp:
Oct 19, 2023, 4:02:57 PM (8 months ago)
Author:
idelkadi
Message:

Merged trunk changes -r4488:4726 LMDZ_ECRad branch

Location:
LMDZ6/branches/LMDZ_ECRad
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ_ECRad

  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/phyaqua_mod.F90

    r4482 r4727  
    360360    ql_ancien   = 0.
    361361    qs_ancien   = 0.
     362    qbs_ancien  = 0.
    362363    u_ancien    = 0.
    363364    v_ancien    = 0.
     
    365366    prlw_ancien = 0.
    366367    prsw_ancien = 0. 
     368    prbsw_ancien= 0.
    367369
    368370    ale_wake    = 0.
     
    512514    USE mod_phys_lmdz_para, ONLY: is_omp_master, klon_mpi
    513515    USE mod_phys_lmdz_transfert_para, ONLY: gather_omp
    514 #ifdef CPP_XIOS
    515     USE xios
    516 #endif
     516    USE lmdz_xios
    517517    IMPLICIT NONE
    518518
     
    534534      ! on the whole physics grid
    535535 
    536 #ifdef CPP_XIOS
    537     PRINT *, 'writelim: Ecriture du fichier limit'
    538 
    539     CALL gather_omp(phy_foce, phy_mpi)
    540     IF (is_omp_master) CALL xios_send_field('foce_limout',phy_mpi)
    541 
    542     CALL gather_omp(phy_fsic, phy_mpi)
    543     IF (is_omp_master) CALL xios_send_field('fsic_limout',phy_mpi)
     536    IF (using_xios) THEN
     537      PRINT *, 'writelim: Ecriture du fichier limit'
     538
     539      CALL gather_omp(phy_foce, phy_mpi)
     540      IF (is_omp_master) CALL xios_send_field('foce_limout',phy_mpi)
     541
     542      CALL gather_omp(phy_fsic, phy_mpi)
     543      IF (is_omp_master) CALL xios_send_field('fsic_limout',phy_mpi)
    544544     
    545     CALL gather_omp(phy_fter, phy_mpi)
    546     IF (is_omp_master) CALL xios_send_field('fter_limout',phy_mpi)
     545      CALL gather_omp(phy_fter, phy_mpi)
     546      IF (is_omp_master) CALL xios_send_field('fter_limout',phy_mpi)
    547547     
    548     CALL gather_omp(phy_flic, phy_mpi)
    549     IF (is_omp_master) CALL xios_send_field('flic_limout',phy_mpi)
    550 
    551     CALL gather_omp(phy_sst, phy_mpi)
    552     IF (is_omp_master) CALL xios_send_field('sst_limout',phy_mpi)
    553 
    554     CALL gather_omp(phy_bil, phy_mpi)
    555     IF (is_omp_master) CALL xios_send_field('bils_limout',phy_mpi)
    556 
    557     CALL gather_omp(phy_alb, phy_mpi)
    558     IF (is_omp_master) CALL xios_send_field('alb_limout',phy_mpi)
    559 
    560     CALL gather_omp(phy_rug, phy_mpi)
    561     IF (is_omp_master) CALL xios_send_field('rug_limout',phy_mpi)
    562 #endif
     548      CALL gather_omp(phy_flic, phy_mpi)
     549      IF (is_omp_master) CALL xios_send_field('flic_limout',phy_mpi)
     550
     551      CALL gather_omp(phy_sst, phy_mpi)
     552      IF (is_omp_master) CALL xios_send_field('sst_limout',phy_mpi)
     553
     554      CALL gather_omp(phy_bil, phy_mpi)
     555      IF (is_omp_master) CALL xios_send_field('bils_limout',phy_mpi)
     556
     557      CALL gather_omp(phy_alb, phy_mpi)
     558      IF (is_omp_master) CALL xios_send_field('alb_limout',phy_mpi)
     559
     560      CALL gather_omp(phy_rug, phy_mpi)
     561      IF (is_omp_master) CALL xios_send_field('rug_limout',phy_mpi)
     562    ENDIF
    563563  END SUBROUTINE writelim_unstruct
    564564
Note: See TracChangeset for help on using the changeset viewer.