Skip to content
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

[Bug fix] Read side computation of derived variables should not be triggered when data is stored #4247

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/adios2/toolkit/format/bp5/BP5Serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ BP5Serializer::BP5WriterRec BP5Serializer::CreateWriterRec(void *Variable, const
// and Offsets matching _MetaArrayRec
const char *ExprString = NULL;
#ifdef ADIOS2_HAVE_DERIVED_VARIABLE
ExprString = VD ? VD->m_Expr.ExprString.c_str() : NULL;
if (VD && (VD->GetDerivedType() != DerivedVarType::StoreData))
ExprString = VD->m_Expr.ExprString.c_str();
#endif
char *LongName =
BuildLongName(Name, VB->m_ShapeID, (int)Type, ElemSize, TextStructID, ExprString);
Expand Down
Loading