From 1ea519b177f4d2e41f41f1ac776b6e28972f1478 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sat, 16 Sep 2023 08:38:09 -0500 Subject: [PATCH] fix: use eics3 endpoint --- benchmarks/backgrounds/synchrotron.sh | 2 +- benchmarks/diffractive_vm/get.sh | 2 +- benchmarks/dis/get.sh | 2 +- benchmarks/dvcs/dvcs.sh | 2 +- benchmarks/tcs/tcs.sh | 2 +- benchmarks/u_omega/u_omega.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/backgrounds/synchrotron.sh b/benchmarks/backgrounds/synchrotron.sh index 2973ccc5..29609cc7 100644 --- a/benchmarks/backgrounds/synchrotron.sh +++ b/benchmarks/backgrounds/synchrotron.sh @@ -89,7 +89,7 @@ echo "DETECTOR = ${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 . config host add S3 https://eics3.sdcc.bnl.gov:9000 $S3_ACCESS_KEY $S3_SECRET_KEY set +o pipefail mc -C . head -n $((2+5*${JUGGLER_N_EVENTS})) --insecure ${DATA_URL} | sanitize_hepmc3 > ${JUGGLER_MC_FILE} if [[ "$?" -ne "0" ]] ; then diff --git a/benchmarks/diffractive_vm/get.sh b/benchmarks/diffractive_vm/get.sh index a790ae57..2f05ddab 100644 --- a/benchmarks/diffractive_vm/get.sh +++ b/benchmarks/diffractive_vm/get.sh @@ -61,7 +61,7 @@ events_per_file=100 nfiles=$(( (${JUGGLER_N_EVENTS} + ${events_per_file} - 1) / ${events_per_file} )) for ix in $(seq -f "%03g" 0 10); do DATA_URL=S3/eictest/EPIC/EVGEN/EXCLUSIVE/DIFFRACTIVE_${LEADING^^}_ABCONV/Sartre/Coherent/sartre_bnonsat_Au_${LEADING}_ab_eAu_1_${ix}.hepmc.gz - mc config host add S3 https://dtn01.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} + mc config host add S3 https://eics3.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} mc cp ${DATA_URL} ${TMP_PATH}/${GEN_TAG}.hepmc.gz if [[ "$?" -ne "0" ]] ; then echo "ERROR downloading file" diff --git a/benchmarks/dis/get.sh b/benchmarks/dis/get.sh index ff7b8c13..a8718f9b 100644 --- a/benchmarks/dis/get.sh +++ b/benchmarks/dis/get.sh @@ -59,7 +59,7 @@ fi ## Step 3: Copy the file (about 180 lines per event in DIS NC files) nlines=$((190*${JUGGLER_N_EVENTS})) DATA_URL=S3/eictest/ATHENA/EVGEN/DIS/NC/${EBEAM}x${PBEAM}/minQ2=${MINQ2}/pythia8NCDIS_${EBEAM}x${PBEAM}_minQ2=${MINQ2}_beamEffects_xAngle=-0.025_hiDiv_vtxfix_1.hepmc -mc config host add S3 https://dtn01.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} +mc config host add S3 https://eics3.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} mc head -n ${nlines} ${DATA_URL} | sanitize_hepmc3 > ${TMP_PATH}/${GEN_TAG}.hepmc if [[ "$?" -ne "0" ]] ; then echo "ERROR downloading file" diff --git a/benchmarks/dvcs/dvcs.sh b/benchmarks/dvcs/dvcs.sh index cb07cb0b..a21b114d 100644 --- a/benchmarks/dvcs/dvcs.sh +++ b/benchmarks/dvcs/dvcs.sh @@ -89,7 +89,7 @@ echo "DETECTOR = ${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 . config host add S3 https://eics3.sdcc.bnl.gov:9000 $S3_ACCESS_KEY $S3_SECRET_KEY set +o pipefail mc -C . head -n 1004 --insecure ${DATA_URL} | sanitize_hepmc3 > "${JUGGLER_MC_FILE}" if [[ "$?" -ne "0" ]] ; then diff --git a/benchmarks/tcs/tcs.sh b/benchmarks/tcs/tcs.sh index bcbb1550..0c69e200 100644 --- a/benchmarks/tcs/tcs.sh +++ b/benchmarks/tcs/tcs.sh @@ -107,7 +107,7 @@ echo "DETECTOR = ${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 . config host add S3 https://eics3.sdcc.bnl.gov:9000 $S3_ACCESS_KEY $S3_SECRET_KEY set +o pipefail mc -C . cat --insecure ${DATA_URL} | gunzip -c | head -n $((20+10*JUGGLER_N_EVENTS)) | sanitize_hepmc3 > "${JUGGLER_MC_FILE}" if [[ "$?" -ne "0" ]] ; then diff --git a/benchmarks/u_omega/u_omega.sh b/benchmarks/u_omega/u_omega.sh index 86653dd5..389cc63b 100644 --- a/benchmarks/u_omega/u_omega.sh +++ b/benchmarks/u_omega/u_omega.sh @@ -88,7 +88,7 @@ echo "DETECTOR = ${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 . config host add S3 https://eics3.sdcc.bnl.gov:9000 $S3_ACCESS_KEY $S3_SECRET_KEY set +o pipefail mc -C . head -n 1004 --insecure ${DATA_URL} | sanitize_hepmc3 > "${JUGGLER_MC_FILE}" if [[ "$?" -ne "0" ]] ; then -- GitLab