A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
loba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In compute_loop(), wait the duration of an *lb* iteration if there is nothing to do.
[loba.git]
/
Experimentations
/
run-all
diff --git
a/Experimentations/run-all
b/Experimentations/run-all
index 9d4354292b0c7fab232ef51bae877ea7f873d6b2..581ee1f811b5d11941e9fe34cb6ffbb6d88cd95b 100755
(executable)
--- a/
Experimentations/run-all
+++ b/
Experimentations/run-all
@@
-100,9
+100,9
@@
for plat in "${PLATFORMS[@]}"; do
plat_output="$RESULTS/plat_$tmp"
for topo in "${TOPOLOGIES[@]}"; do
topo_output="$plat_output/topo_$topo"
plat_output="$RESULTS/plat_$tmp"
for topo in "${TOPOLOGIES[@]}"; do
topo_output="$plat_output/topo_$topo"
+ [ $debug = 0 ] && mkdir -p "$topo_output"
for algo in "${ALGORITHMS[@]}"; do
algo_output="$topo_output/algo_$algo"
for algo in "${ALGORITHMS[@]}"; do
algo_output="$topo_output/algo_$algo"
- [ $debug = 0 ] && mkdir -p "$algo_output"
args=(
-T"$topo"
-a"$algo"
args=(
-T"$topo"
-a"$algo"
@@
-111,11
+111,16
@@
for plat in "${PLATFORMS[@]}"; do
-t"$DEADLINE"
"$plat"
)
-t"$DEADLINE"
"$plat"
)
- for bk in "" "-b"; do
- tmp=$(outfile "loba" $bk "${args[@]}")
- out="$algo_output/$tmp.out"
+ for bk in "plain" "bookkeeping"; do
+ cmd=( "$LOBA" "${COMMON_OPTS[@]}" )
+ case "$bk" in
+ "plain") : ;;
+ "bookkeeping") cmd+=( "-b" ) ;;
+ *) die "internal error (bk = \"$bk\")" ;;
+ esac
+ out="${algo_output}_${bk}.out"
outf="$out$outsuffix"
outf="$out$outsuffix"
- cmd
=( "$LOBA" "${COMMON_OPTS[@]}" $bk
"${args[@]}" )
+ cmd
+=(
"${args[@]}" )
log "Run: ${cmd[@]}"$'\n'"... &> $outf"
if [ $overwrite = 0 -a -e "$outf" ]; then
log "already run !"
log "Run: ${cmd[@]}"$'\n'"... &> $outf"
if [ $overwrite = 0 -a -e "$outf" ]; then
log "already run !"