Skip to content
Snippets Groups Projects
Commit 09a0f7fb authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

allo parallel execution of backup-restore tests

parent d0a4cbdf
No related branches found
No related tags found
1 merge request!57allo parallel execution of backup-restore tests
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
#if HAVE_DUNE_FOAMGRID #if HAVE_DUNE_FOAMGRID
#include <dune/foamgrid/foamgrid.hh> #include <dune/foamgrid/foamgrid.hh>
#endif #endif
#if HAVE_DUNE_UGGRID
#include <dune/grid/uggrid.hh>
#endif
#include "Tests.hpp" #include "Tests.hpp"
...@@ -92,10 +95,10 @@ int main(int argc, char** argv) ...@@ -92,10 +95,10 @@ int main(int argc, char** argv)
AMDiS::init(argc, argv); AMDiS::init(argc, argv);
std::string filename = "test"; std::string filename = "test";
Parameters::set("test->backup->grid", filename + ".grid"); Parameters::set("test->backup->grid", filename + "_" + std::to_string(GRID_ID) + ".grid");
Parameters::set("test->restore->grid", filename + ".grid"); Parameters::set("test->restore->grid", filename + "_" + std::to_string(GRID_ID) + ".grid");
Parameters::set("test->backup->solution", filename + ".solution"); Parameters::set("test->backup->solution", filename + "_" + std::to_string(GRID_ID) + ".solution");
Parameters::set("test->restore->solution", filename + ".solution"); Parameters::set("test->restore->solution", filename + "_" + std::to_string(GRID_ID) + ".solution");
#if GRID_ID == 0 #if GRID_ID == 0
test_cube<Dune::YaspGrid<2>>(); test_cube<Dune::YaspGrid<2>>();
......
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