Skip to content

Commit

Permalink
TL/MLX5: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samnordmann committed Nov 7, 2023
1 parent b669316 commit ff77cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/scripts/run_tests_ucc_mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ 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
fi
if [ $state == 'MT4129' ]; then
if [ $type == 'MT4129' ]; then
CX7_DEV=$d
break
fi
Expand Down

0 comments on commit ff77cc7

Please sign in to comment.