Ignore:
Timestamp:
Jan 22, 2019, 5:26:21 PM (6 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/readaerosol.F90

    r3435 r3436  
    178178  USE mod_phys_lmdz_para
    179179  USE mod_grid_phy_lmdz, ONLY: grid_type, unstructured
     180#ifdef CPP_XIOS
    180181  USE xios
     182#endif
    181183  IMPLICIT NONE
    182184  INTEGER, INTENT(IN) :: flag_aerosol
     185#ifdef CPP_XIOS
    183186  REAL,ALLOCATABLE :: lat_src(:)
    184187  REAL,ALLOCATABLE :: lon_src(:)
     
    238241   
    239242  ENDIF   
    240 
     243#endif
    241244  END SUBROUTINE init_aero_fromfile
    242245
     
    269272    USE iophy, ONLY : io_lon, io_lat
    270273    USE print_control_mod, ONLY: lunout
     274#ifdef CPP_XIOS
    271275    USE xios
    272 
     276#endif
    273277    IMPLICIT NONE
    274278     
     
    682686
    683687    IF (grid_type==unstructured) THEN
     688#ifdef CPP_XIOS
    684689      IF (is_omp_master) THEN
    685690        CALL xios_send_field(TRIM(varname)//"_in",varyear)
     
    697702      CALL scatter_omp(psurf_interp,psurf_out)
    698703      first=.FALSE.
     704#endif
    699705    ELSE
    700706      ! Scatter global field to local domain at local process
Note: See TracChangeset for help on using the changeset viewer.