Ignore:
Timestamp:
Jul 10, 2023, 1:40:39 AM (18 months ago)
Author:
yann meurdesoif
Message:

Suppress usage of preprocessing key CPP_XIOS.
Wrapper file is used to suppress XIOS symbol when xios is not linked and not used (-io ioipsl)
The CPP_XIOS key is replaced in model by "using_xios" boolean variable to switch between IOIPSL or XIOS output.

YM

Location:
LMDZ6/trunk/libf/phylmd/rrtm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/rrtm/readaerosolstrato1_rrtm.F90

    r4489 r4619  
    1818    USE YOERAD, ONLY : NLW
    1919    USE YOMCST
    20 #ifdef CPP_XIOS
    21     USE xios
    22 #endif
     20    USE lmdz_xios
    2321
    2422    IMPLICIT NONE
     
    167165   
    168166    IF (grid_type==unstructured) THEN
    169 #ifdef CPP_XIOS
    170167      IF (is_omp_master) THEN
    171168        ALLOCATE(tauaerstrat_mpi(klon_mpi,klev))
     
    176173      ENDIF
    177174      CALL scatter_omp(tauaerstrat_mpi,tau_aer_strat)
    178 #endif
    179175    ELSE 
    180176      CALL scatter(tauaerstrat_mois_glo,tau_aer_strat)
  • LMDZ6/trunk/libf/phylmd/rrtm/readaerosolstrato2_rrtm.F90

    r4489 r4619  
    1919    USE YOERAD, ONLY : NLW
    2020    USE YOMCST
    21 #ifdef CPP_XIOS
    22     USE xios
    23 #endif
     21    USE lmdz_xios
    2422
    2523    IMPLICIT NONE
     
    282280
    283281      IF (grid_type==unstructured) THEN
    284 
    285 #ifdef CPP_XIOS
    286282
    287283        IF (is_omp_master) THEN
     
    310306        CALL scatter_omp(cgaerstrat_mpi,cg_aer_strat)
    311307        CALL scatter_omp(taulwaerstrat_mpi,taulw_aer_strat)
    312 #endif
    313308      ELSE 
    314309       
Note: See TracChangeset for help on using the changeset viewer.