#!/usr/bin/env bash

TOOL_NAME=${tool_name}
OPTS_NAME=${opts_name}
TOOL=${tool}

EXP_NAME=$$(python -m spacer.exp_name ${idx})

OUT=${out_dir}/$${TOOL_NAME}.$${OPTS_NAME}.$${EXP_NAME}

echo "Creating directory: $$OUT"
mkdir -p $$OUT

PARALLEL=${parallel}
JOBS=${jobs}

echo "Starting parallel with $$JOBS jobs..."
time $$PARALLEL -j $$JOBS --ungroup --results $$OUT/{/} $$TOOL :::: ${idx}

#!/usr/bin/env bash

TOOL_NAME=${tool_name}
OPTS_NAME=${opts_name}
TOOL=${tool}

EXP_NAME=$$(python -m spacer.exp_name ${idx})

OUT=${out_dir}/$${TOOL_NAME}.$${OPTS_NAME}.$${EXP_NAME}

echo "Creating directory: $$OUT"
mkdir -p $$OUT

PARALLEL=${parallel}
JOBS=${jobs}

echo "Experiment: $${EXP_NAME}"
echo "Output directory: $${OUT}"
echo "Starting GNU parallel with $$JOBS jobs ..."
time $$PARALLEL -j $$JOBS --ungroup --results $$OUT/{/} $$TOOL :::: ${idx}

Increase verbosity of run-tool-opts script
Increase verbosity of run-tool-opts script
