From ab392679e543564e418082d29936e97bd1a58dbd Mon Sep 17 00:00:00 2001 From: Norbert Podhorszki <pnorbert@ornl.gov> Date: Tue, 20 Jun 2017 15:41:32 -0400 Subject: [PATCH] removed xml files from basic examples --- examples/basics/globalArray/globalArray.xml | 10 ---------- examples/basics/globalArray/globalArray_write.cpp | 4 ++-- examples/basics/joinedArray/joinedArray.xml | 10 ---------- examples/basics/joinedArray/joinedArray_write.cpp | 4 ++-- examples/basics/localArray/localArray.xml | 10 ---------- examples/basics/localArray/localArray_write.cpp | 4 ++-- examples/basics/values/values.xml | 10 ---------- examples/basics/values/values_write.cpp | 4 ++-- 8 files changed, 8 insertions(+), 48 deletions(-) delete mode 100644 examples/basics/globalArray/globalArray.xml delete mode 100644 examples/basics/joinedArray/joinedArray.xml delete mode 100644 examples/basics/localArray/localArray.xml delete mode 100644 examples/basics/values/values.xml diff --git a/examples/basics/globalArray/globalArray.xml b/examples/basics/globalArray/globalArray.xml deleted file mode 100644 index 68b7e9f6e..000000000 --- a/examples/basics/globalArray/globalArray.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<adios-config> - - <io name="Output"> - <engine name="BPFileWriter"/> - <transport name= "File"/> - </io> - -</adios-config> - diff --git a/examples/basics/globalArray/globalArray_write.cpp b/examples/basics/globalArray/globalArray_write.cpp index 85543c15f..7a1b98ac3 100644 --- a/examples/basics/globalArray/globalArray_write.cpp +++ b/examples/basics/globalArray/globalArray_write.cpp @@ -48,9 +48,9 @@ int main(int argc, char *argv[]) const int NSTEPS = 5; #ifdef ADIOS2_HAVE_MPI - adios2::ADIOS adios("globalArray.xml", MPI_COMM_WORLD); + adios2::ADIOS adios(MPI_COMM_WORLD); #else - adios2::ADIOS adios("globalArray.xml"); + adios2::ADIOS adios; #endif // Application variables for output diff --git a/examples/basics/joinedArray/joinedArray.xml b/examples/basics/joinedArray/joinedArray.xml deleted file mode 100644 index 68b7e9f6e..000000000 --- a/examples/basics/joinedArray/joinedArray.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<adios-config> - - <io name="Output"> - <engine name="BPFileWriter"/> - <transport name= "File"/> - </io> - -</adios-config> - diff --git a/examples/basics/joinedArray/joinedArray_write.cpp b/examples/basics/joinedArray/joinedArray_write.cpp index c5540d1dc..73aa4fc6b 100644 --- a/examples/basics/joinedArray/joinedArray_write.cpp +++ b/examples/basics/joinedArray/joinedArray_write.cpp @@ -53,9 +53,9 @@ int main(int argc, char *argv[]) srand(rank * 32767); #ifdef ADIOS2_HAVE_MPI - adios2::ADIOS adios("localArray.xml", MPI_COMM_WORLD); + adios2::ADIOS adios(MPI_COMM_WORLD); #else - adios2::ADIOS adios("localArray.xml"); + adios2::ADIOS adios; #endif // Application variables for output diff --git a/examples/basics/localArray/localArray.xml b/examples/basics/localArray/localArray.xml deleted file mode 100644 index 68b7e9f6e..000000000 --- a/examples/basics/localArray/localArray.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<adios-config> - - <io name="Output"> - <engine name="BPFileWriter"/> - <transport name= "File"/> - </io> - -</adios-config> - diff --git a/examples/basics/localArray/localArray_write.cpp b/examples/basics/localArray/localArray_write.cpp index 5f5ce116a..7a0e741eb 100644 --- a/examples/basics/localArray/localArray_write.cpp +++ b/examples/basics/localArray/localArray_write.cpp @@ -44,9 +44,9 @@ int main(int argc, char *argv[]) srand(rank * 32767); #ifdef ADIOS2_HAVE_MPI - adios2::ADIOS adios("localArray.xml", MPI_COMM_WORLD); + adios2::ADIOS adios(MPI_COMM_WORLD); #else - adios2::ADIOS adios("localArray.xml"); + adios2::ADIOS adios; #endif // Application variables for output diff --git a/examples/basics/values/values.xml b/examples/basics/values/values.xml deleted file mode 100644 index 68b7e9f6e..000000000 --- a/examples/basics/values/values.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<adios-config> - - <io name="Output"> - <engine name="BPFileWriter"/> - <transport name= "File"/> - </io> - -</adios-config> - diff --git a/examples/basics/values/values_write.cpp b/examples/basics/values/values_write.cpp index a3389cf38..6ba9acf3d 100644 --- a/examples/basics/values/values_write.cpp +++ b/examples/basics/values/values_write.cpp @@ -42,9 +42,9 @@ int main(int argc, char *argv[]) srand(rank * 32767); #ifdef ADIOS2_HAVE_MPI - adios2::ADIOS adios("values.xml", MPI_COMM_WORLD); + adios2::ADIOS adios(MPI_COMM_WORLD); #else - adios2::ADIOS adios("values.xml"); + adios2::ADIOS adios; #endif // Application variables for output -- GitLab