Commit 4df9a4bc authored by Jason Rhinelander's avatar Jason Rhinelander

Make run-sim use same dir as typical-sim; .xz

run-sim was using a full timestamp instead of just the date, which is a
little annoying; changed it to use the date~~tag format, like
typical-sim.  It also now puts its files into a 'randomized'
subdirectory, instead of dropping them directly into timestamp~~tag.

Updated the help output of both to reflect that crstate files are
compressed now.
parent 2bc470b3
Pipeline #103 skipped
......@@ -10,14 +10,14 @@ Usage: $0 [ARGUMENTS]
Invokes ./creativity-cli via ./creativity-random, using a suitable set of
randomized parameters.
Output is placed in ./results/DATE~~HASH/creativity-SEED.crstate where DATE and
HASH are generated from the current git commit date and hash.
Output is placed in ./results/DATE~~HASH/randomized/creativity-SEED.crstate.xz
where DATE and HASH are generated from the current git commit date and hash.
EOF
exit 1;
fi
done
dir="./results/$(git show -s --format=%cI~~%h @)"
dir="./results/$(git show -s --format=%cd~~%h @)/randomized"
mkdir -p "$dir"
exec ./creativity-random ./creativity-cli \
......
......@@ -18,7 +18,7 @@ argument list, override the default.
Output is placed in
./results/\$DATE~~\$HASH/\$TYPICAL/creativity-\$SEED.crstate
./results/\$DATE~~\$HASH/\$TYPICAL/creativity-\$SEED.crstate.xz
where DATE and HASH are generated from the current git commit date and hash,
and TYPICAL defaults to "typical" if not externally set in the environment.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment