Skip to content

ADIOS1: Create Attribute-Only Files#674

Merged
ax3l merged 3 commits intoopenPMD:devfrom
ax3l:topic-SerialIOFlushAttrOnly
Jan 27, 2020
Merged

ADIOS1: Create Attribute-Only Files#674
ax3l merged 3 commits intoopenPMD:devfrom
ax3l:topic-SerialIOFlushAttrOnly

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Jan 27, 2020

Extend Test: Flush more exotic write patterns in serial write, such as attribute-only series.

Demonstrates and fixes another ADIOS1 backend bug (open files either if attributes or dataset are going to be created).

Implement a backendName() property in IOHandlers for development/debugging purposes.

@ax3l ax3l added the tests label Jan 27, 2020
@ax3l ax3l force-pushed the topic-SerialIOFlushAttrOnly branch from 363aabf to e47b218 Compare January 27, 2020 17:31
Query the name of an IOHandler, mainly for debugging and development.
o.setOpenPMDextension(1);
o.iterations[3].setTime(static_cast< double >(3));
o.iterations[4].setTime(static_cast< double >(4));
if( o.backend() != "ADIOS1" ) // FIXME fails with ADIOS1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error message:

ERROR: MPI open failed for ../samples/subdir/serial_fileBased_write00000004.bp: 'File not found: ../samples/subdir/serial_fileBased_write00000004.bp'
ERROR: File open failed: ../samples/subdir/serial_fileBased_write00000004.bp
terminate called after throwing an instance of 'std::runtime_error'
  what():  [ADIOS1] Internal error: Failed to open_read ADIOS file

@ax3l ax3l force-pushed the topic-SerialIOFlushAttrOnly branch from 065bb12 to bbb2fde Compare January 27, 2020 18:46
@ax3l ax3l changed the title Serial: Extended Attribute Flush Test ADIOS1: Attribute-Only Files Jan 27, 2020
@ax3l ax3l force-pushed the topic-SerialIOFlushAttrOnly branch from bbb2fde to 0d7b057 Compare January 27, 2020 18:48
@ax3l ax3l changed the title ADIOS1: Attribute-Only Files ADIOS1: Create Attribute-Only Files Jan 27, 2020
@ax3l ax3l merged commit 240c47a into openPMD:dev Jan 27, 2020
@ax3l ax3l deleted the topic-SerialIOFlushAttrOnly branch January 27, 2020 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant