Skip to content

Commit 4e48ff1

Browse files
committed
mpi functional tests
1 parent 7e79f09 commit 4e48ff1

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

tests/functional/harris/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ if(NOT ${PHARE_PROJECT_DIR} STREQUAL ${CMAKE_BINARY_DIR})
88
endif()
99

1010
if(HighFive AND testMPI)
11+
1112
## These test use dump diagnostics so require HighFive!
12-
# exec level 11
13-
# mpirun -n 10
13+
1414
if(testMPI)
15-
phare_mpi_python3_exec(11 10 harris_2d harris_2d.py ${CMAKE_CURRENT_BINARY_DIR})
15+
phare_mpi_python3_exec(11 4 harris_2d harris_2d.py ${CMAKE_CURRENT_BINARY_DIR})
1616
endif(testMPI)
17+
1718
endif()

tests/functional/harris/harris_2d.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535

3636
def config():
3737
sim = ph.Simulation(
38-
smallest_patch_size=15,
39-
largest_patch_size=25,
4038
time_step_nbr=time_step_nbr,
4139
time_step=time_step,
4240
# boundary_types="periodic",
@@ -155,13 +153,6 @@ def vthz(x, y):
155153

156154
def main():
157155
Simulator(config()).run()
158-
try:
159-
from tools.python3 import plotting as m_plotting
160-
161-
m_plotting.plot_run_timer_data(diag_outputs, cpp.mpi_rank())
162-
except ImportError:
163-
print("Phlop not found - install with: `pip install phlop`")
164-
cpp.mpi_barrier()
165156

166157

167158
if __name__ == "__main__":

tests/simulator/refinement/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ if(HighFive)
1111
## These test use dump diagnostics so require HighFive!
1212
if(testMPI)
1313

14-
14+
# disabled due to https://github.com/PHAREHUB/PHARE/issues/853
1515
# phare_mpi_python3_exec(11 10 complex_2d_refinement test_2d_10_core.py ${CMAKE_CURRENT_BINARY_DIR})
16+
1617
endif(testMPI)
1718

1819
phare_python3_exec(9 simple_2d_refinement test_2d_2_core.py ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)