From dc4fb8fe1166d7fc67a11ced4fc7e16a133247ce Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Fri, 1 Nov 2024 13:33:00 +0900 Subject: [PATCH] check subprocess.run --- tests/integration/active_learn_aenet/AL.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration/active_learn_aenet/AL.sh b/tests/integration/active_learn_aenet/AL.sh index 8a1f290c..79f5dde0 100644 --- a/tests/integration/active_learn_aenet/AL.sh +++ b/tests/integration/active_learn_aenet/AL.sh @@ -25,4 +25,7 @@ echo Done cd train0 -mpiexec -np 2 --oversubscribe ~/opt/aenet/bin/train.x_mpi train.in + +python3 -c "import subprocess; subprocess.run(['mpiexec', '-np', '2', '--oversubscribe', '~/opt/aenet/bin/train.x_mpi', 'train.in'])" + +# mpiexec -np 2 --oversubscribe ~/opt/aenet/bin/train.x_mpi train.in