Skip to content
Snippets Groups Projects
Commit 2b0907be authored by Podhorszki, Norbert's avatar Podhorszki, Norbert
Browse files

clang-format

parent dd319da9
No related branches found
No related tags found
2 merge requests!189Memory,!183fix IO::SetParameters() calls in examples to build the release branch
......@@ -115,7 +115,7 @@ int main(int argc, char *argv[])
bpReaderSettings.SetEngine(
"ADIOS1Reader"); // BP is the default engine
// see only one step at a time
bpReaderSettings.SetParameters({{"OpenAsFile","yes"}});
bpReaderSettings.SetParameters({{"OpenAsFile", "yes"}});
}
// Create engine smart pointer due to polymorphism,
......
......@@ -78,7 +78,7 @@ int main(int argc, char *argv[])
#endif
);
// Passing parameters to the engine
bpWriterSettings.SetParameters({{"have_metadata_file","yes"}});
bpWriterSettings.SetParameters({{"have_metadata_file", "yes"}});
// number of aggregators
// bpWriterSettings.SetParameters("Aggregation", (nproc + 1) / 2);
}
......
......@@ -55,7 +55,7 @@ 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment