Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Sep 28, 2024
1 parent 7cb62dc commit dc03f03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyphare/pyphare/simulator/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def times(self):
self.timeStep(),
)

def run(self, plot_times=False, monitoring=True):
def run(self, plot_times=False, monitoring=False):
"""monitoring requires phlop"""
from pyphare.cpp import cpp_lib

Expand Down
2 changes: 1 addition & 1 deletion src/hdf5/detail/h5/h5_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class HighFiveFile
fapl.add(HighFive::MPIOFileAccess{MPI_COMM_WORLD, MPI_INFO_NULL});
#else
std::cout << "WARNING: PARALLEL HDF5 not available" << std::endl;
if (core::mpi_size() > 1)
if (core::mpi::size() > 1)
{
throw std::runtime_error("HDF5 NOT PARALLEL!");
}
Expand Down
2 changes: 2 additions & 0 deletions src/simulator/simulator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ std::string Simulator<_dimension, _interp_order, _nbRefinedPart>::to_str()
template<std::size_t _dimension, std::size_t _interp_order, std::size_t _nbRefinedPart>
void Simulator<_dimension, _interp_order, _nbRefinedPart>::initialize()
{
PHARE_LOG_SCOPE(1, "Simulator::initialize");

try
{
if (isInitialized)
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/harris/harris_2d_lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ def plot(diag_dir):
for c in ["x", "y", "z"]:
run.GetB(time).plot(
filename=plot_file_for_qty(f"b{c}", time),
qty=f"B{c}",
qty=f"{c}",
plot_patches=True,
)
run.GetJ(time).plot(
filename=plot_file_for_qty("jz", time),
qty="Jz",
qty="z",
plot_patches=True,
vmin=-2,
vmax=2,
Expand Down

0 comments on commit dc03f03

Please sign in to comment.