diff --git a/examples/heatTransfer/write/IO_adios2.cpp b/examples/heatTransfer/write/IO_adios2.cpp index 8d7612a063cdcfec6e04d5946f36ca206fc82cdf..93f2634335a1c071c36c6af996d740d78e6b1c4f 100644 --- a/examples/heatTransfer/write/IO_adios2.cpp +++ b/examples/heatTransfer/write/IO_adios2.cpp @@ -57,8 +57,7 @@ IO::IO(const Settings &s, MPI_Comm comm) // varT.AddTransform( tr, "" ); // varT.AddTransform( tr,"accuracy=0.001" ); // for ZFP - bpWriter = - bpio.Open(m_outputfilename, adios::OpenMode::w, comm); + bpWriter = bpio.Open(m_outputfilename, adios::OpenMode::w, comm); if (!bpWriter) { diff --git a/examples/hello/bpWriter/helloBPWriter.cpp b/examples/hello/bpWriter/helloBPWriter.cpp index aa75a6605fbf8673a049e745a75cbc9a35965912..dbeaf0240c1a5ab8dc5c8eb4d65bf4ec6e44567a 100644 --- a/examples/hello/bpWriter/helloBPWriter.cpp +++ b/examples/hello/bpWriter/helloBPWriter.cpp @@ -40,8 +40,7 @@ int main(int argc, char *argv[]) /** global array : name, { shape (total) }, { start (local) }, { count * (local) }, all are constant dimensions */ adios::Variable<float> &bpFloats = bpIO.DefineVariable<float>( - "bpFloats", - {size * Nx}); //, {rank * Nx}, {Nx}, adios::ConstantDims); + "bpFloats", {size * Nx}, {rank * Nx}, {Nx}, adios::ConstantDims); /** Engine derived class, spawned to start IO operations */ auto bpWriter = bpIO.Open("myVector.bp", adios::OpenMode::w);