diff --git a/tests/libs/adios2/tests/arrays_read.cpp b/tests/libs/adios2/tests/arrays_read.cpp index 759d15c2c3..405a2d6f2b 100644 --- a/tests/libs/adios2/tests/arrays_read.cpp +++ b/tests/libs/adios2/tests/arrays_read.cpp @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) adios2::IO bpIO = adios.DeclareIO("ReadBP"); /** Engine derived class, spawned to start IO operations */ - adios2::Engine bpReader = bpIO.Open(filename, adios2::Mode::Read); + adios2::Engine bpReader = bpIO.Open(filename, adios2::Mode::ReadRandomAccess); const std::map variables = bpIO.AvailableVariables();