Skip to content

Commit 461bf7c

Browse files
authored
Refactor mpi_running initialization for clarity
1 parent 9814ff7 commit 461bf7c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/run_tests.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,7 @@ def run_processes(self, additional_mpi_args):
135135
)
136136

137137
mpi_running = (
138-
[self.mpi_exec]
139-
+ shlex.split(additional_mpi_args)
140-
+ [
141-
"-np",
142-
ppc_num_proc,
143-
]
138+
[self.mpi_exec] + shlex.split(additional_mpi_args) + ["-np", ppc_num_proc]
144139
)
145140
if not self.__ppc_env.get("PPC_ASAN_RUN"):
146141
for task_type in ["all", "mpi"]:

0 commit comments

Comments
 (0)