Replies: 1 comment 3 replies
-
Definitely odd. That throw is protected by code that checks to see if the engine mode is Mode::Write or Mode::Append, so there's something funky going on if it thinks that's not the case. Is the code somewhere we can look at it? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to append to an existing file, but I get the following exception
Weird thing, in my unit tests, append works as intended, but in the actual code if throws the error. The file is written by the same code, I first write the beginning, then I change the mode to append, recompile and get this error. (I have a better way to do this for actual runs, but that involves restart, and currently I am trying to get the simplest possible example).
Note that the main program is Fortran, calling a C++ library, that then calls adios2 for IO. The Fortran main program also has two separate Adios2 writers, that write to different files each. There is no overlap between any of the adios implementations.
Beta Was this translation helpful? Give feedback.
All reactions