for bk in "" "-b"; do
tmp=$(outfile "loba" $bk "${args[@]}")
infile="$algo_output/$tmp.out"
- variable=$(awk '/'"$target_param"'/{print $'"$target_position"'}' "$infile")
+ variable=$(tail -17 "$infile" | awk '/'"$target_param"'/{print $'"$target_position"'}')
log "Reading $target_param from $infile : $variable"
mediantexline=$(echo -e "$mediantexline&$variable\t")
echo -e "$algo$bk\t$variable\n" >> "$topo_data_out"
target_position=${params_pos[$target_i]};
outfilesuffix=$(outfile "${target_param[@]}")
topo_data_out="$plat_output/data_$topo-$outfilesuffix.tex"
- variable=$(awk '/'"$target_param"'/{print $'"$target_position"'}' "$infile")
+ variable=$(tail -17 "$infile" | awk '/'"$target_param"'/{print $'"$target_position"'}')
log "Reading $target_param from $infile : $variable"
mediantexline=$(echo -e "$mediantexline&$variable\t")
echo -e "$algo$bk\t$variable\n" >> "$topo_data_out"
log "skipped (dry-run)"
else
echo "# ${cmd[@]}" > "$out"
- "${cmd[@]}" >> "$out" 2>&1
+ out2="/tmp/tmp_loba.o"
+ "${cmd[@]}" > "$out2" 2>&1
+ tail -17 "$out2" >> "$out"
tail -n4 "$out"
fi
done
besteffort
makhoul
simple
+ lln
+ bulk
)
# the different platform files
)
# number of hosts
-NHOSTS=0
+NHOSTS=64
# total load
-LOAD=1000
+LOAD=6400
# time limit for the simulation
DEADLINE=10000
# optional: path to binary (default: ./loba)
-#LOBA=./loba
+LOBA=../loba
# optional: path to results (default: ./results)
#RESULTS=./results