Skip to content

Commit fad78a9

Browse files
committed
Params not env for parallelism
1 parent 299cf4b commit fad78a9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

source/adios2/engine/bp5/BP5Reader.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,14 +1449,14 @@ void BP5Reader::UpdateBuffer(const TimePoint &timeoutInstant, const Seconds &pol
14491449
{
14501450
m_BP5Deserializer->SetupForStep(Step,
14511451
m_WriterMap[m_WriterMapIndex[Step]].WriterCount);
1452-
if (m_Parameters.MetadataThreads > 1)
1453-
{
1454-
ParallelInstallMetadataForTimestep(Step);
1455-
}
1456-
else
1457-
{
1458-
InstallMetadataForTimestep(Step);
1459-
}
1452+
if (m_Parameters.MetadataThreads > 1)
1453+
{
1454+
ParallelInstallMetadataForTimestep(Step);
1455+
}
1456+
else
1457+
{
1458+
InstallMetadataForTimestep(Step);
1459+
}
14601460
}
14611461
}
14621462
}

testing/adios2/performance/metadata/PerfMetaData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ void DoReader()
468468
}
469469
LastVarSize = (int)Floats.size();
470470
LastArraySize = (int)FloatArrays.size();
471-
LastBlocksCount = reader.BlocksInfo(FloatArrays[0], reader.CurrentStep()).size();
471+
LastBlocksCount = (int)reader.BlocksInfo(FloatArrays[0], reader.CurrentStep()).size();
472472
if (!SkipTraversal)
473473
{
474474
for (auto Var : Floats)

0 commit comments

Comments
 (0)