From ae7dacf33bbc077098a219939dbff5a18d3da315 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 21 Sep 2021 14:05:59 -0700 Subject: Python CI: Only 2 Ranks (#2320) Public CI only offers two virtual cores and thus only 2 MPI ranks. Oversubscription generally leads to unstable builds (sporadic suspension of processes by the host system) and newer MPI versions won't start at all without requesting oversubscription. --- Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py') diff --git a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py index 6eb23d272..8eb5839c3 100644 --- a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py +++ b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py @@ -126,7 +126,7 @@ from pywarpx import wx if color == 0: # verify that communicator contains correct number of procs (1) - assert wx.libwarpx.warpx_getNProcs() == comm_world_size - 2 + assert wx.libwarpx.warpx_getNProcs() == comm_world_size - 1 assert wx.libwarpx.warpx_getNProcs() == new_comm_size else: -- cgit v1.2.3