-
Notifications
You must be signed in to change notification settings - Fork 0
/
run2.sh
executable file
·22 lines (19 loc) · 1.23 KB
/
run2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
if [ $# != 3 ]
then
echo "Invalid arguments"
echo "Usage: ./run_teste.sh [ALGORITHM] [N_NODES] [N_RADIOS]"
echo "Example: ./run_misc.sh RALL 40 3"
exit
fi
for repeatIR in `seq 1 3`;
do
./waf --run "scratch/testeOfdm --simulationTime=50000 --algorithm=$1 --nNodes=$2 --nRadios=$3 --seed=5 --repeatId=$repeatIR --activeFlows=75.0 --waveformPower=0.00 --nNodesInterfering=2" > /dev/null &
./waf --run "scratch/testeOfdm --simulationTime=50000 --algorithm=$1 --nNodes=$2 --nRadios=$3 --seed=6 --repeatId=$repeatIR --activeFlows=75.0 --waveformPower=0.00 --nNodesInterfering=2" > /dev/null ;
./waf --run "scratch/testeOfdm --simulationTime=50000 --algorithm=$1 --nNodes=$2 --nRadios=$3 --seed=7 --repeatId=$repeatIR --activeFlows=75.0 --waveformPower=0.00 --nNodesInterfering=2" > /dev/null &
./waf --run "scratch/testeOfdm --simulationTime=50000 --algorithm=$1 --nNodes=$2 --nRadios=$3 --seed=8 --repeatId=$repeatIR --activeFlows=75.0 --waveformPower=0.00 --nNodesInterfering=2" > /dev/null ;
# for seed in `seq 4 6`;
# do
# ./waf --run "scratch/testeOfdm --simulationTime=50000 --algorithm=$1 --nNodes=$2 --nRadios=$3 --seed=$seed --repeatId=$repeatIR --activeFlows=100.0 --waveformPower=0.00 --nNodesInterfering=2"
# done
done