Skip to content

Clearly fail when users select a wrong backend#1214

Merged
ax3l merged 4 commits intoopenPMD:devfrom
franzpoeschel:fix-error-message-wrong-backend
Mar 29, 2022
Merged

Clearly fail when users select a wrong backend#1214
ax3l merged 4 commits intoopenPMD:devfrom
franzpoeschel:fix-error-message-wrong-backend

Conversation

@franzpoeschel
Copy link
Contributor

Original issue: ComputationalRadiationPhysics/picongpu#4004

When selecting a wrong backend, it might currently happen that openPMD activates a dummy backend, resulting in error messages like

[~Series] An error occurred: [Series] Closed iteration has not been written. This is an internal error.
Unhandled exception of type 'St13runtime_error' with message '[Series] Closed iteration has not been written. This is an internal error.', terminating

This fixes that

@franzpoeschel franzpoeschel force-pushed the fix-error-message-wrong-backend branch 2 times, most recently from e80fdbd to 53c8678 Compare March 16, 2022 10:14
@franzpoeschel franzpoeschel force-pushed the fix-error-message-wrong-backend branch from 53c8678 to 6329476 Compare March 16, 2022 10:22
@ax3l ax3l self-requested a review March 29, 2022 06:39
@ax3l ax3l self-assigned this Mar 29, 2022
@ax3l ax3l added this to the 0.14.5 milestone Mar 29, 2022
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

👍

@ax3l ax3l merged commit 7e3b667 into openPMD:dev Mar 29, 2022
@ax3l ax3l modified the milestones: 0.14.5, 0.14.6 May 25, 2022
@ax3l
Copy link
Member

ax3l commented May 25, 2022

I have problems backporting this to the release-0.14.5 branch

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.

2 participants