about summary refs log tree commit diff
path: root/sourcecodes/parameter_learning/code_backup
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-10-03 12:13:38 +0000
committerPjotr <wrk@bosa.lan>2026-10-03 12:13:38 +0000
commitf9d5c4116711d6fd82f2a8cf55acc10bf36ab740 (patch)
tree410a4d83ca12238abb1baf959c8284ee4029b842 /sourcecodes/parameter_learning/code_backup
parent605900ddc699017695f9c93ab5a58a8100a4bf30 (diff)
downloadgn-bnw-f9d5c4116711d6fd82f2a8cf55acc10bf36ab740.tar.gz
run.sh: self-locate the C binaries; fix the production run failure
run.sh cd'ed to /var/lib/genenet/bnw and ran ./network_score etc
RELATIVE to that directory -- depending on the activation having
copied the binaries there.  On production that copy was incomplete
(the binaries live in the bnw PACKAGE store item since 00e5b05f
removed the vendored ones and build.sh recompiles them), so every
structure-learning run died with "./network_score: No such file or
directory".

run.sh now locates the binaries next to itself:
  BNW_BIN_DIR=$(dirname $0)/../var_lib_genenet_bnw
which in the package is <out>/sourcecodes/../var_lib_genenet_bnw --
provably present in the store item.  The per-run working directory
stays /var/lib/genenet/bnw.
Diffstat (limited to 'sourcecodes/parameter_learning/code_backup')
0 files changed, 0 insertions, 0 deletions