From 089bd544a2994259e0a714cb793110a7fcbb027c Mon Sep 17 00:00:00 2001 From: "G. Bomarito" Date: Mon, 23 Sep 2024 14:34:32 -0400 Subject: [PATCH] adding debug statements to test runner --- tests/.run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/.run_tests.sh b/tests/.run_tests.sh index 5c09c5f0..a762f7a1 100755 --- a/tests/.run_tests.sh +++ b/tests/.run_tests.sh @@ -6,9 +6,9 @@ python -c "import mpi4py;" echo "importing mpi4py" python -c "import os;" echo "getting filename" -python -c "import mpi4py;import os;filename = next(iter(mpi4py.get_config().items()))[1];" +python -c "import mpi4py;import os;filename = list(mpi4py.get_config().values())[0];" echo "Finding MPI install" -MPI_EXEC=$(python -c "import mpi4py;import os;filename = next(iter(mpi4py.get_config().items()))[1];print(os.path.dirname(filename)+'/mpiexec');") +MPI_EXEC=$(python -c "import mpi4py;import os;filename = list(mpi4py.get_config().values())[0];print(os.path.dirname(filename)+'/mpiexec');") echo $MPI_EXEC RUN_MODE=${1-"coverage"} echo $RUN_MODE