forked from jahanxb/flcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremote-connect-cassandra-cifar.sh
executable file
·26 lines (13 loc) · 2.14 KB
/
remote-connect-cassandra-cifar.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
#!/bin/bash
echo "Processing on Client Nodes "
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 1 --frac 1 >> /users/jahanxb/node1.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 2 --frac 1 >> /users/jahanxb/node2.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 3 --frac 1 >> /users/jahanxb/node3.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 4 --frac 1 >> /users/jahanxb/node4.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 5 --frac 1 >> /users/jahanxb/node5.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 6 --frac 1 >> /users/jahanxb/node6.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 7 --frac 1 >> /users/jahanxb/node7.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 8 --frac 1 >> /users/jahanxb/node8.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 9 --frac 1 >> /users/jahanxb/node9.txt'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 10 --frac 1 >> /users/jahanxb/node10.txt'
echo 'Process Finished!!!'