-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ADIOS1: listSeries #883
Conversation
@@ -1112,8 +1112,7 @@ void test_complex(const std::string & backend) { | |||
if( backend != "json" ) //! @todo clarify that complex data is not N+1 data in JSON | |||
{ | |||
Series list{ "../samples/serial_write_complex." + backend, Access::READ_ONLY }; | |||
if( list.backend() != "ADIOS1" ) // FIXME: "Internal error: Failed to inquire about ADIOS variable during dataset opening" | |||
helper::listSeries( list ); | |||
helper::listSeries( list ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ADIOS1] Internal error: Failed to inquire about ADIOS variable
'/data/0/meshes/CfltCflt' during dataset opening
Curious, since it should only have a problem with Cldbl
, which we don't write.
Looks like it doubled the variable name in the path: CfltCflt
instead of Cflt
?
test/SerialIOTest.cpp
Outdated
@@ -1536,8 +1535,7 @@ TEST_CASE( "patch_test", "[serial]" ) | |||
if( t != "json" ) // FIXME: "[JSON] No such attribute in the given location." | |||
{ | |||
Series list{"../samples/serial_patch." + t, Access::READ_ONLY}; | |||
if( list.backend() != "ADIOS1" ) // FIXME: "Internal error: Failed to inquire about ADIOS variable during dataset opening" | |||
helper::listSeries(list); | |||
helper::listSeries(list); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same curious variable-name doubling here (xx
should read x
):
[ADIOS1] Internal error: Failed to inquire about ADIOS variable
'/data/1/particles/e/particlePatches/offset/xx' during dataset opening
Cover ADIOS1 issue on listSeries seen with two tests.
86a3dae
to
9e942aa
Compare
Add the missing variable name to the error message.
9e942aa
to
53cb2a6
Compare
This seems to be essentially the same issue as in #884. Apparently, our tests didn't yet cover workflows where a dataset is opened twice and the JSON and ADIOS1 backends did not deal with that correctly. |
Epic, thank you! ✨ |
* Test ADIOS1: listSeries Cover ADIOS1 issue on listSeries seen with two tests. * ADIOS1: More Meaningful Var Error Msg Add the missing variable name to the error message. * ADIOS1: deal correctly with opening datasets multiple times Co-authored-by: Franz Pöschel <franz.poeschel@gmail.com>
Fix ADIOS1 issue on listSeries seen with two tests.