Skip to content

Commit 9814ff7

Browse files
committed
simplify MPI command configuration in test scripts
1 parent 36cbfb0 commit 9814ff7

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/run_tests.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def run_processes(self, additional_mpi_args):
138138
[self.mpi_exec]
139139
+ shlex.split(additional_mpi_args)
140140
+ [
141-
"-x",
142-
"PPC_NUM_THREADS",
143-
"-x",
144-
"OMP_NUM_THREADS",
145141
"-np",
146142
ppc_num_proc,
147143
]
@@ -156,15 +152,7 @@ def run_processes(self, additional_mpi_args):
156152

157153
def run_performance(self):
158154
if not self.__ppc_env.get("PPC_ASAN_RUN"):
159-
mpi_running = [
160-
self.mpi_exec,
161-
"-x",
162-
"PPC_NUM_THREADS",
163-
"-x",
164-
"OMP_NUM_THREADS",
165-
"-np",
166-
self.__ppc_num_proc,
167-
]
155+
mpi_running = [self.mpi_exec, "-np", self.__ppc_num_proc]
168156
for task_type in ["all", "mpi"]:
169157
self.__run_exec(
170158
mpi_running

0 commit comments

Comments
 (0)