diff --git a/tests/simulator/test_run.py b/tests/simulator/test_run.py index 8480db130..f8a4e687e 100644 --- a/tests/simulator/test_run.py +++ b/tests/simulator/test_run.py @@ -223,16 +223,16 @@ def tearDown(self): def test_run(self): sim = config() self.register_diag_dir_for_cleanup(diag_dir) - Simulator(sim).run() + Simulator(sim).run().reset() if cpp.mpi_rank() == 0: plot(diag_dir) - for time in timestamps: - for q in ["divb", "Ranks", "N", "jz"]: - assert_file_exists_with_size_at_least(plot_file_for_qty(q, time)) - - for c in ["x", "y", "z"]: - assert_file_exists_with_size_at_least(plot_file_for_qty(f"b{c}", time)) + for time in timestamps: + for q in ["divb", "Ranks", "N", "jz"]: + assert_file_exists_with_size_at_least(plot_file_for_qty(q, time)) + + for c in ["x", "y", "z"]: + assert_file_exists_with_size_at_least(plot_file_for_qty(f"b{c}", time)) cpp.mpi_barrier() diff --git a/tools/config/config.py b/tools/config/config.py index 49ac7718f..bcf381315 100644 --- a/tools/config/config.py +++ b/tools/config/config.py @@ -245,7 +245,7 @@ def write_local_cmake_file(mpi_results): if mpi_type == "OMPI": # work around for https://github.com/open-mpi/ompi/issues/10761#issuecomment-1236909802 file.write( - """set (PHARE_MPIRUN_POSTFIX "${PHARE_MPIRUN_POSTFIX} --bind-to none") + """set (PHARE_MPIRUN_POSTFIX "${PHARE_MPIRUN_POSTFIX};--bind-to;none") """ ) diff --git a/tools/python3/plotting.py b/tools/python3/plotting.py index 6da7e0601..5db7d9824 100644 --- a/tools/python3/plotting.py +++ b/tools/python3/plotting.py @@ -24,7 +24,7 @@ def plot_run_timer_data(diag_dir=None, rank=0): parser = argparse.ArgumentParser() parser.add_argument("-d", "--dir", default=".", help="Diagnostics directory") diag_dir = parser.parse_args().dir - run = Run(diag_dir, single_hier_for_all_quantities=True) + run = Run(diag_dir) res = phloping.file_parser(run, rank, Path(f".phare_times.{rank}.txt")) fig, ax = plt.subplots() L0X = res.time_steps_for_L(0)