Skip to content

Commit

Permalink
cmake cli arg parse
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Sep 20, 2024
1 parent 2f84939 commit 9cc9d7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
"""
)

Expand Down
2 changes: 1 addition & 1 deletion tools/python3/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9cc9d7b

Please sign in to comment.