Ignore:
Timestamp:
Jul 8, 2020, 7:49:08 PM (4 years ago)
Author:
adurocher
Message:

Fix conditional compilation to compile without XIOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/phys_output_write_xios_mod.f90

    r3753 r3754  
    326326    USE print_control_mod, ONLY: prt_level, lunout
    327327
    328     USE xios
     328    USE xios_interface, ONLY : CPP_XIOS_defined, xios_fieldgroup, xios_field, xios_get_handle, xios_add_child, xios_set_attr, xios_update_calendar
    329329    USE wxios, ONLY: wxios_closedef, missing_val, wxios_set_context
    330330    USE vertical_layers_mod, ONLY: presnivs
     
    382382    REAL, DIMENSION(klon)      :: zrho, zt
    383383
     384    if( .not. CPP_XIOS_defined ) call abort_physic("phys_output_write_xios", "This io backend can only be used when LMDZ is compiled with XIOS support",1 )
    384385    if( .not. ok_all_xml ) call abort_physic("phys_output_write_xios", "This io backend only supports ok_all_xml = .true.", 1)
    385386
Note: See TracChangeset for help on using the changeset viewer.