Commit 6e3ff33c authored by Podhorszki, Norbert's avatar Podhorszki, Norbert
Browse files

fix examples for the release branch

parent 20eaaece
......@@ -55,11 +55,11 @@ int main(int argc, char *argv[])
// if not defined by user, we can change the default settings
// BPFileWriter is the default engine
bpReaderIO.SetEngine("ADIOS1Reader");
bpReaderIO.SetParameters({"num_threads=2"});
bpReaderIO.SetParameters({{"num_threads", "2"}});
// ISO-POSIX file is the default transport
// Passing parameters to the transport
bpReaderIO.AddTransport("File", {"verbose=4"});
bpReaderIO.AddTransport("File", {{"verbose", "4"}});
}
auto bpReader =
......
......@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
* Parameters, Transports, and Execution: Engines */
adios2::IO &adios1IO = adios.DeclareIO("ADIOS1IO");
adios1IO.SetEngine("ADIOS1Writer");
adios1IO.AddTransport("file", {"library=MPI"});
adios1IO.AddTransport("file", {{"library", "MPI"}});
/** global array : name, { shape (total) }, { start (local) }, { count
* (local) }, all are constant dimensions */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment