Skip to content

Commit

Permalink
must not have been being built on windows before
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed May 17, 2024
1 parent 8c62c57 commit bdc78df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/hello/hdf5SubFile/hdf5SubFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ void writeMe(adios2::IO &hdf5IO, int rank, int size, const char *testFileName)
const std::size_t Nx = 1024;
const std::size_t Ny = 1024 * scale;

std::vector<float> myFloats(Nx * Ny, 0.1 * rank);
std::vector<int> myInts(Nx * Ny, 1 + rank);
std::vector<float> myFloats(Nx * Ny, 0.1f * rank);
std::vector<int> myInts(Nx * Ny, (int)(1 + rank));

hdf5IO.SetParameter("IdleH5Writer",
"true"); // set this if not all ranks are writting
Expand Down Expand Up @@ -103,7 +103,7 @@ void ReadVarData(adios2::IO h5IO, adios2::Engine &h5Reader, const std::string &n

if (var)
{
int nDims = var.Shape().size();
int nDims = (int)var.Shape().size();
size_t totalSize = 1;
for (int i = 0; i < nDims; i++)
{
Expand Down

0 comments on commit bdc78df

Please sign in to comment.