diff --git a/opm/autodiff/FlowMainEbos.hpp b/opm/autodiff/FlowMainEbos.hpp index 8b4141a78..e410b2e4a 100755 --- a/opm/autodiff/FlowMainEbos.hpp +++ b/opm/autodiff/FlowMainEbos.hpp @@ -690,11 +690,6 @@ namespace Opm } } - if (output_to_files_) { - std::string filename = output_dir_ + "/walltime.txt"; - std::fstream tot_os(filename.c_str(), std::fstream::trunc | std::fstream::out); - successReport.reportParam(tot_os); - } } else { if (output_cout_) { std::cout << "\n\n================ Simulation turned off ===============\n" << std::flush; diff --git a/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp b/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp index 63d86dd33..81fb121e0 100644 --- a/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp +++ b/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp @@ -162,16 +162,8 @@ public: // Create timers and file for writing timing info. Opm::time::StopWatch solver_timer; - Opm::time::StopWatch step_timer; Opm::time::StopWatch total_timer; total_timer.start(); - std::string tstep_filename = output_writer_.outputDirectory() + "/step_timing.txt"; - std::ofstream tstep_os; - - if ( output_writer_.output() && output_writer_.isIORank() ) - { - tstep_os.open(tstep_filename.c_str()); - } // adaptive time stepping const auto& events = schedule().getEvents(); @@ -225,7 +217,6 @@ public: // Main simulation loop. while (!timer.done()) { // Report timestep. - step_timer.start(); if ( terminal_output_ ) { std::ostringstream ss; @@ -321,11 +312,6 @@ public: // update timing. report.solver_time += solver_timer.secsSinceStart(); - if ( output_writer_.output() && output_writer_.isIORank() ) - { - stepReport.reportParam(tstep_os); - } - // We don't need the reservoir state anymore. It is just passed around to avoid // code duplication. Pass empty state instead. if (timer.initialStep()) {