Skip to content

Commit

Permalink
Fix shutdown_fl_run.sh (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanTingHsieh authored Sep 19, 2023
1 parent 95bf4af commit 85b4e1a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ n_clients=8

echo "Attempting to shutdown server at ${workspace}/${SERVERNAME}"
export CUDA_VISIBLE_DEVICES=1
./workspaces/${workspace}/${SERVERNAME}/startup/stop_fl.sh &
echo 'y' | ./workspaces/${workspace}/${SERVERNAME}/startup/stop_fl.sh &

echo "Attempting to shutdown ${n_clients} clients"
for id in $(eval echo "{1..$n_clients}")
do
export CUDA_VISIBLE_DEVICES=1
./workspaces/${workspace}/${site_pre}${id}/startup/stop_fl.sh &
echo 'y' | ./workspaces/${workspace}/${site_pre}${id}/startup/stop_fl.sh &
done

0 comments on commit 85b4e1a

Please sign in to comment.