Ignore:
Timestamp:
Jan 22, 2019, 5:26:21 PM (5 years ago)
Author:
Ehouarn Millour
Message:

Additional modifications wrt previous commit to enable working without XIOS.
EM+LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/regr_horiz_time_climoz_m.F90

    r3435 r3436  
    6666  USE regular_lonlat_mod, ONLY: boundslon_reg, boundslat_reg, south, west, east
    6767  USE slopes_m,           ONLY: slopes
     68#ifdef CPP_XIOS
    6869  USE xios
     70#endif
    6971  USE mod_phys_lmdz_para, ONLY: is_mpi_root, is_master, is_omp_master, gather, gather_mpi, bcast_mpi, klon_mpi
    7072  USE geometry_mod, ONLY : latitude_deg, ind_cell_glo
     
    377379    !=============================================================================
    378380     IF (grid_type==unstructured) THEN
     381#ifdef CPP_XIOS
    379382       nlat_ou=klon_mpi
    380383       
     
    389392       CALL xios_send_field("tro3_in",o3_in3bis(:,:,:,:,:))
    390393       CALL xios_recv_field("tro3_out",o3_regr_lonlat(1,:,:,:,:))
    391 
     394#endif
    392395     ELSE
    393396         
     
    423426     nlat_ou=nbp_lat
    424427     IF (grid_type==unstructured) THEN
     428#ifdef CPP_XIOS
    425429       CALL xios_send_field('o3_out',o3_out3)
    426430       ndims=3
    427431       ALLOCATE(o3_out3_glo(nlat_ou, nlev_in, ntim_ou, read_climoz))
    428432       CALL gather_mpi(o3_out3(1,:,:,:,:), o3_out3_glo)
     433#endif
    429434     ENDIF
    430435
     
    467472   
    468473     IF (grid_type==unstructured) THEN
     474#ifdef CPP_XIOS
    469475       nlat_ou=klon_mpi
    470476
     
    480486       IF(.NOT.lprev) o3_regr_lat(:,:, 0, :) = o3_regr_lat(:,:,12,:)
    481487       IF(.NOT.lnext) o3_regr_lat(:,:,13, :) = o3_regr_lat(:,:, 1,:)
    482        
     488#endif       
    483489     
    484490     ELSE
Note: See TracChangeset for help on using the changeset viewer.