Ignore:
Timestamp:
Oct 30, 2023, 5:37:00 PM (7 months ago)
Author:
Laurent Fairhead
Message:

Merge of ACC branch with 4740 revision from trunk

Location:
LMDZ6/branches/Portage_acc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Portage_acc

  • LMDZ6/branches/Portage_acc/libf/phylmd/regr_horiz_time_climoz_m.F90

    r4584 r4743  
    6666  USE regular_lonlat_mod, ONLY: boundslon_reg, boundslat_reg, south, west, east
    6767  USE slopes_m,           ONLY: slopes
    68 #ifdef CPP_XIOS
    69   USE xios
    70 #endif
     68  USE lmdz_xios
    7169  USE mod_phys_lmdz_para, ONLY: is_mpi_root, is_master, is_omp_master, gather, gather_mpi, bcast_mpi, klon_mpi
    7270  USE geometry_mod, ONLY : latitude_deg, ind_cell_glo
     
    240238      CALL bcast_mpi(ntim_ou)
    241239
    242 #ifdef CPP_XIOS   
    243240      IF (is_mpi_root) THEN
    244241        CALL xios_set_domain_attr("domain_climoz",nj_glo=nlat_in, nj=nlat_in, jbegin=0, latvalue_1d=lat_in/deg2rad)
     
    262259      CALL  xios_set_field_attr("tro3_out", enabled=.TRUE.)
    263260      CALL  xios_set_field_attr("tro3_out", enabled=.TRUE.)
    264 #endif
    265261     
    266262      IF (first) THEN
     
    415411    !=============================================================================
    416412     IF (grid_type==unstructured) THEN
    417 #ifdef CPP_XIOS
    418413       nlat_ou=klon_mpi
    419414       
     
    428423       CALL xios_send_field("tro3_in",o3_in3bis(:,:,:,:,:))
    429424       CALL xios_recv_field("tro3_out",o3_regr_lonlat(1,:,:,:,:))
    430 #endif
    431425     ELSE
    432426         
     
    462456     nlat_ou=nbp_lat
    463457     IF (grid_type==unstructured) THEN
    464 #ifdef CPP_XIOS
    465458       CALL xios_send_field('o3_out',o3_out3)
    466459       ndims=3
    467460       ALLOCATE(o3_out3_glo(nlat_ou, nlev_in, ntim_ou, read_climoz))
    468461       CALL gather_mpi(o3_out3(1,:,:,:,:), o3_out3_glo)
    469 #endif
    470462     ENDIF
    471463
     
    508500   
    509501     IF (grid_type==unstructured) THEN
    510 #ifdef CPP_XIOS
    511502       nlat_ou=klon_mpi
    512503
     
    522513       IF(.NOT.lprev) o3_regr_lat(:,:, 0, :) = o3_regr_lat(:,:,12,:)
    523514       IF(.NOT.lnext) o3_regr_lat(:,:,13, :) = o3_regr_lat(:,:, 1,:)
    524 #endif       
    525515     
    526516     ELSE
Note: See TracChangeset for help on using the changeset viewer.