Skip to content

Conversation

@franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented May 2, 2022

Fix #1263

TODO:

  • Fix premature flushes in context of scalar components
  • Document the new IO task

@franzpoeschel franzpoeschel force-pushed the fix-premature-flushing branch 3 times, most recently from 72d18f5 to 8f93a4f Compare May 3, 2022 14:17
@ax3l
Copy link
Member

ax3l commented May 3, 2022

ready to rebase :)

@franzpoeschel franzpoeschel force-pushed the fix-premature-flushing branch from 8f93a4f to e7bc391 Compare May 4, 2022 08:16
@ax3l ax3l merged commit 1d32922 into openPMD:dev May 6, 2022
@ax3l ax3l self-assigned this May 6, 2022
@ax3l ax3l mentioned this pull request May 6, 2022
11 tasks
@franzpoeschel
Copy link
Contributor Author

This PR introduced a subtle bug: In scalar constant record components, some superfluous attributes are created

  uint64_t  /data/1/particles/e/positionOffset/positionOffset/shape  attr
  int32_t   /data/1/particles/e/positionOffset/positionOffset/value  attr
  uint64_t  /data/1/particles/e/positionOffset/shape                 attr
  float     /data/1/particles/e/positionOffset/timeOffset            attr
  double    /data/1/particles/e/positionOffset/unitDimension         attr
  double    /data/1/particles/e/positionOffset/unitSI                attr
  int32_t   /data/1/particles/e/positionOffset/value                 attr

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.

Performance bug: Premature IO flushing when using scalar components

2 participants