Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
f77cdb01
Commit
f77cdb01
authored
Jun 10, 2022
by
Hejing Li
Browse files
ae: add deterministic script
parent
ca9ccfbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
experiments/ae/deterministic.sh
experiments/ae/deterministic.sh
+19
-0
No files found.
experiments/ae/deterministic.sh
0 → 100755
View file @
f77cdb01
#!/bin/bash
# Runs the same simulation by default five times.
if
[
-z
"
$1
"
]
then
echo
"set run num to five"
run_num
=
5
else
echo
"set run num to
$1
"
run_num
=
$1
fi
python3 run.py pyexps/ae/determ.py
--filter
dt-gt-ib-sw
--force
--verbose
--runs
=
$1
START
=
1
# Parse the json file into experiment's out_dir
for
i
in
$(
seq
1
$run_num
)
;
do
python3 pyexps/log_parser.py out/dt-gt-ib-sw-
$i
.json
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment