From 4e90c56e9c69b013bda96781e5d06cba2222c56d Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wouter.deconinck@umanitoba.ca> Date: Wed, 13 Oct 2021 17:24:14 +0000 Subject: [PATCH] Download enough for larger JUGGLER_N_EVENTS --- benchmarks/synchrotron/synchrotron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/synchrotron/synchrotron.sh b/benchmarks/synchrotron/synchrotron.sh index fe1769dc..e4c112d4 100644 --- a/benchmarks/synchrotron/synchrotron.sh +++ b/benchmarks/synchrotron/synchrotron.sh @@ -90,7 +90,7 @@ echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}" ## Step 1. Get the data if [[ -n "${DATA_INIT}" || -n "${DO_ALL}" ]] ; then mc -C . config host add S3 https://dtn01.sdcc.bnl.gov:9000 $S3_ACCESS_KEY $S3_SECRET_KEY - mc -C . head -n 1000 --insecure ${DATA_URL} > ${JUGGLER_MC_FILE} + mc -C . head -n $((2+5*${JUGGLER_N_EVENTS})) --insecure ${DATA_URL} > ${JUGGLER_MC_FILE} if [[ "$?" -ne "0" ]] ; then echo "Failed to download hepmc files" exit 1 -- GitLab