summaryrefslogtreecommitdiff
path: root/start
diff options
context:
space:
mode:
Diffstat (limited to 'start')
-rwxr-xr-xstart16
1 files changed, 15 insertions, 1 deletions
diff --git a/start b/start
index d3b71e1..474f7be 100755
--- a/start
+++ b/start
@@ -40,7 +40,8 @@ main() {
OUTPUT_PATH="$OUTPUT_PATH/$(date -u +"%d-%m-%YT%H.%M.%S")"
mkdir -p "$OUTPUT_PATH/pipeline"
- cp -r "$PIPELINE_PATH" "$OUTPUT_PATH"
+ cp $PIPELINE_PATH/{start,run-model} "$OUTPUT_PATH/pipeline"
+ details > "$OUTPUT_PATH/pipeline/details"
start_jobs
}
@@ -56,6 +57,19 @@ start_jobs() {
done
}
+details() {
+ echo -e "BINARY:\t\t$BINARY"
+ echo -e "MODELS_PATH:\t$MODELS_PATH"
+ echo -e "OUTPUT_PATH:\t$OUTPUT_PATH"
+ echo -e "TIME_LIMIT:\t$TIME_LIMIT"
+ echo -e "NUM_PROBLEMS:\t$NUM_PROBLEMS"
+ echo
+ echo "STRATEGIES:"
+ printf ' %s\n' "${STRATEGIES[@]}"
+ echo
+ date
+}
+
serialize_array() {
declare -n _array="${1}" _str="${2}" # _array, _str => local reference vars
local IFS="${3:-$'\x01'}"