Skip to content

Commit

Permalink
Make pio_async_interface a module-level variable
Browse files Browse the repository at this point in the history
This will be needed for ESCOMP#305, where
this variable is now referenced from another subroutine as well.
  • Loading branch information
billsacks committed Jul 5, 2022
1 parent 28bcf74 commit 03ce9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cesm/nuopc_cap_share/init_pio_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module init_pio_mod
integer(kind=pio_offset_kind) :: pio_buffer_size_limit=-1

type(pio_rearr_opt_t) :: pio_rearr_opts
logical, allocatable :: pio_async_interface(:)

integer :: total_comps
logical :: mastertask
Expand Down Expand Up @@ -187,7 +188,6 @@ subroutine init_pio_component_init(driver, ncomps, rc)
character(CS) :: msgstr
integer :: do_async_init
type(iosystem_desc_t), allocatable :: async_iosystems(:)
logical, allocatable :: pio_async_interface(:)

allocate(pio_comp_settings(ncomps))
allocate(gcomp(ncomps))
Expand Down

0 comments on commit 03ce9b7

Please sign in to comment.