From 4de88f96e791b552d2ac0a18935fee7e28668d68 Mon Sep 17 00:00:00 2001 From: snordmann Date: Tue, 7 Nov 2023 19:14:31 +0200 Subject: [PATCH] TL/MLX5: fix bug --- .ci/scripts/run_tests_ucc_mpi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/scripts/run_tests_ucc_mpi.sh b/.ci/scripts/run_tests_ucc_mpi.sh index 41622a2b9a..89c537301a 100755 --- a/.ci/scripts/run_tests_ucc_mpi.sh +++ b/.ci/scripts/run_tests_ucc_mpi.sh @@ -29,7 +29,7 @@ CX7_DEV="" # Find first available active device for d in $(ssh $HEAD_NODE "ibstat -l"); do state=$(ssh $HEAD_NODE "ibstat $d" | grep 'State:' | awk '{print $2}') - type=$(ssh $HEAD_NODE "ibstat $d" | grep 'CA type:' | awk '{print $2}') + type=$(ssh $HEAD_NODE "ibstat $d" | grep 'CA type:' | awk '{print $3}') if [ $state == 'Active' ]; then if [ "x$DEV" == "x" ]; then DEV=$d