Ignore:
Timestamp:
Jul 10, 2023, 1:40:39 AM (11 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/phylmd/create_etat0_limit_unstruct.F90

    r4600 r4619  
    1010 
    1111  SUBROUTINE init_etat0_limit_unstruct
    12 #ifdef CPP_XIOS
    13   USE xios, ONLY: xios_set_axis_attr, xios_set_fieldgroup_attr, &
     12  USE lmdz_xios, ONLY: xios_set_axis_attr, xios_set_fieldgroup_attr, &
    1413                  xios_set_filegroup_attr, xios_set_file_attr
    1514  USE mod_phys_lmdz_para, ONLY: is_omp_master
     
    4948      ENDIF 
    5049
    51 #endif
    5250  END SUBROUTINE init_etat0_limit_unstruct
    5351 
    5452  SUBROUTINE create_etat0_limit_unstruct
    55 #ifdef CPP_XIOS
    5653  USE mod_grid_phy_lmdz, ONLY: grid_type, unstructured
    5754  USE create_etat0_unstruct_mod, ONLY: create_etat0_unstruct
     
    6259  USE ioipsl_getin_p_mod, ONLY: getin_p
    6360  USE dimphy, ONLY: klon
    64   USE xios, ONLY: xios_context_finalize, xios_set_current_context, &
     61  USE lmdz_xios, ONLY: xios_context_finalize, xios_set_current_context, &
    6562                  xios_finalize
    6663  USE print_control_mod, ONLY: lunout
     
    109106      ENDIF
    110107       
    111 #endif
    112108  END SUBROUTINE create_etat0_limit_unstruct
    113109 
Note: See TracChangeset for help on using the changeset viewer.