Skip to content
Snippets Groups Projects
Commit 4e90c56e authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Download enough for larger JUGGLER_N_EVENTS

parent fda10a49
No related branches found
No related tags found
1 merge request!106Resolve "Include synchrotron radiation benchmark"
This commit is part of merge request !106. Comments created here will be created in the context of that merge request.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment