Skip to content

Instantly share code, notes, and snippets.

@marcusrussi
Last active October 21, 2019 18:09
Show Gist options
  • Select an option

  • Save marcusrussi/a8b98c3911dac4f7ef853d31861033d6 to your computer and use it in GitHub Desktop.

Select an option

Save marcusrussi/a8b98c3911dac4f7ef853d31861033d6 to your computer and use it in GitHub Desktop.
N_JOBS=10 # number of jobs to run in parallel
FOLDER='exp3' # where the results should be stored
RESULT_FILE='results_top10.csv' # cols should be [run.id, seed, density, lk] (no header)
parallel -j $N_JOBS --csv \
mkdir $FOLDER/{1} '&&' \
srun -p interactive -N1 -n1 --time=10 \
TBABM -t1 \
-n30000 \
-p {1}.json \
-s {2} \
-o $FOLDER/{1}/ \
-m1 \
:::: $RESULT_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment