adios2_at_io() bug?

Created by: suchyta1

Maybe my understanding of what the subroutine does is wrong, but I think there's a bug in adios2_at_io(). Here's the code I'm running.

character(len=*), intent(in) :: groupname
integer, intent(out) :: ierr
type(adios2_io) :: io, io2

call adios2_declare_io(io, kittie_adios, trim(groupname), ierr)
call adios2_set_engine(io, "SST", ierr)
print *, "declare_io engine: ", trim(io%engine_type)

call adios2_at_io(io2, kittie_adios, trim(groupname), ierr)
print *, "at_io engine: ", trim(io2%engine_type)

And here's the output I get:

 declare_io engine: SST
 at_io engine: BPFile