Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-01 09:34:21

0001 #!/bin/bash
0002 # Submit the Event Service probe task: a tiny ES-mode task
0003 # (nEventsPerWorker in the taskParamMap) against the production queue,
0004 # probing the JEDI ES generation path for the epic VO — task
0005 # acceptance, jedi_events range creation, ES job lifecycle, and range
0006 # disposition after a payload that does not consume ranges. The
0007 # payload is a short sleep; its failure to speak the range channel is
0008 # part of the probe. One small job's minutes of site time.
0009 #
0010 # Usage: bash run.sh
0011 # Requires the cached panda-client OIDC token (~/pclient/run/setup.sh).
0012 set -e
0013 HERE="$(cd "$(dirname "$0")" && pwd)"
0014 STAMP="$(date +%Y%m%d%H%M)"
0015 WORK="${SWF_TMP_DIR:-/data/swf-tmp}/es-probe/${STAMP}"
0016 mkdir -p "${WORK}/sandbox"
0017 echo "ES probe sandbox placeholder (payload uses no sandbox files)" \
0018     > "${WORK}/sandbox/README"
0019 sed "s/%STAMP%/${STAMP}/" "${HERE}/spec.json" > "${WORK}/spec.json"
0020 echo "spec: ${WORK}/spec.json"
0021 grep outDS "${WORK}/spec.json"
0022 source ~/pclient/run/setup.sh
0023 export PANDA_AUTH_VO=EIC.production
0024 python3 "${HERE}/../evgen_panda_submit.py" \
0025     --spec "${WORK}/spec.json" --workdir "${WORK}/sandbox"