Ignore:
Timestamp:
Jul 10, 2023, 1:40:39 AM (15 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/gcm.F90

    r4361 r4619  
    1414
    1515
    16 #ifdef CPP_XIOS
    17   ! ug Pour les sorties XIOS
     16! ug Pour les sorties XIOS
    1817  USE wxios
    19 #endif
    2018
    2119  USE filtreg_mod
     
    156154!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    157155
    158 #ifdef CPP_XIOS
    159   CALL wxios_init("LMDZ")
    160 #endif
     156  IF (using_xios) THEN
     157    CALL wxios_init("LMDZ")
     158  ENDIF
    161159
    162160
Note: See TracChangeset for help on using the changeset viewer.