Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try with ReadRandomAccess mode when reading a file
Current error: ``` Log file: ./tests/libs/adios2/tests/family-gnu14-mpich/arrays_read.log 2024-10-10T13:31:18.3670468Z terminate called after throwing an instance of 'std::logic_error' 2024-10-10T13:31:18.3676365Z what(): ␛[1;36m[Thu Oct 10 13:30:59 2024]␛[1;34m [ADIOS2 EXCEPTION]␛[0m <Engine> <BP5Reader> <NotifyEngineNoVarsQuery> : You've called InquireVariable() when the IO is empty and outside a BeginStep/EndStep pair. If this is code that is newly transititioning to the BP5 file engine, you may be relying upon deprecated behaviour. If you intend to use ADIOS using the Begin/EndStep interface, move all InquireVariable calls inside the BeginStep/EndStep pair. If intending to use random-access file mode, change your Open() mode parameter to Mode::ReadRandomAccess.␛[0m ``` Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
- Loading branch information