-
Notifications
You must be signed in to change notification settings - Fork 2
/
remote-connect-mongodb.sh
executable file
·26 lines (13 loc) · 1.91 KB
/
remote-connect-mongodb.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-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 1'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 2'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 3'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 4'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 5'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 6'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 7'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 8'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 9'
ssh [email protected] -f 'screen -dmS sudo /mydata/flcode/venv/bin/python /mydata/flcode/main_fed_10_nodes-mongodb-cifar.py --dataset cifar --round 10 --gpu -1 --tau 10 --num_users 10'
echo 'Process Finished!!!'