forked from jahanxb/flcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcs.sh
executable file
·27 lines (25 loc) · 2.75 KB
/
rcs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# echo "Initiate Global Model Process on Master Node"
# /mydata/flcode/venv/bin/python main_global_server.py --dataset svhn --round 10 --gpu -1 --tau 10 --num_users 10 --frac 1 --db svhn &
echo "Processing on Client Nodes "
echo "Local Node Process Initiated on Node 1 [IP: 10.10.1.2]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 1 --frac 1 --db scp'
echo "Local Node Process Initiated on Node 2 [IP: 10.10.1.3]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 2 --frac 1 --db scp'
echo "Local Node Process Initiated on Node 3 [IP: 10.10.1.4]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 3 --frac 1 --db scp'
echo "Local Node Process Initiated on Node 4 [IP: 10.10.1.5]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 4 --frac 1 --db scp'
echo "Local Node Process Initiated on Node 5 [IP: 10.10.1.6]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 5 --frac 1 --db scp'
echo "Local Node Process Initiated on Node 6 [IP: 10.10.1.7]"
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 6 --frac 1 --db scp'
#echo "Local Node Process Initiated on Node 7 [IP: 10.10.1.8]"
#ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 7 --frac 1 --db scp'
#echo "Local Node Process Initiated on Node 8 [IP: 10.10.1.9]"
#ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 8 --frac 1 --db scp'
# echo "Local Node Process Initiated on Node 9 [IP: 10.10.1.10]"
# ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset svhn --round 10 --gpu -1 --tau 10 --num_users 9 --frac 1 --db scp'
# echo "Local Node Process Initiated on Node 10 [IP: 10.10.1.11]"
# ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_local_clients.py --dataset svhn --round 10 --gpu -1 --tau 10 --num_users 10 --frac 1 --db scp'
echo 'Process Finished!!!'