Skip to content
Snippets Groups Projects
Commit cf477881 authored by pnorbert's avatar pnorbert Committed by williamfgc
Browse files

Williamfgc refactor examples basics (#7)

* Added examples for variables

* fix more example code

* make Open explicit in ADIOS1 toolkit. Fix handling open mode

* fix OpenModeToString() to serve adios 1 API's needs as well

* fix basic examples after code refactoring

* fix nompi build for basic examples
parent 4cdd0934
No related branches found
No related tags found
1 merge request!124Refactor
......@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
#ifdef ADIOS2_HAVE_MPI
adios::ADIOS adios("globalArray.xml", MPI_COMM_WORLD);
#else
adios::ADIOS adios("globalArray.xml", adios::Verbose::WARN);
adios::ADIOS adios("globalArray.xml");
#endif
// Application variables for output
......
......@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
#ifdef ADIOS2_HAVE_MPI
adios::ADIOS adios("localArray.xml", MPI_COMM_WORLD);
#else
adios::ADIOS adios("localArray.xml", adios::Verbose::WARN);
adios::ADIOS adios("localArray.xml");
#endif
// Application variables for output
......
......@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
#ifdef ADIOS2_HAVE_MPI
adios::ADIOS adios("localArray.xml", MPI_COMM_WORLD);
#else
adios::ADIOS adios("localArray.xml", adios::Verbose::WARN);
adios::ADIOS adios("localArray.xml");
#endif
// Application variables for output
......
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