Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/alexandermote/MCDC into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermote committed Jan 7, 2025
2 parents e5b4586 + 781c3af commit 019b4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/regression/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
# Skip domain decomp tests unless there are 4 MPI processes
temp = names.copy()
for name in names:
if name == "slab_reed_dd" and not (mpiexec == 4 or srun == 4):
if name == "slab_reed_dd" and not (mpiexec % 4 == 0 and srun % 4 == 0):
temp.remove(name)
print(
Fore.YELLOW
+ "Note: Skipping %s (require 4 MPI ranks)" % name
+ "Note: Skipping %s (require multiple of 4 MPI ranks)" % name
+ Style.RESET_ALL
)
elif name == "slab_reed_dd_3d" and not ((mpiexec % 16) == 0 or (srun % 16) == 0):
Expand Down

0 comments on commit 019b4d7

Please sign in to comment.