Repository-based Job Launches
Ivan Furic University of Florida
Repository-based Job Launches Ivan Furic University of Florida - - PowerPoint PPT Presentation
Repository-based Job Launches Ivan Furic University of Florida Current (up to incl DC1.5) approach Edit scripts, fcl drivers etc in a subdirectory of dunepro@dune-offline Launch GUI logs into dune-offline Executes shell commands
Ivan Furic University of Florida
any time, with no record of what happened
need to create new launch template
command line parameters specified by POMS GUI
changed behavior based on few command line parameters
https://pomsgpvm01.fnal.gov/poms/list_launch_file?campaign_id=1177&fname=20180224_200131_ikfuric
#!/bin/bash . `ups setup -z /grid/fermiapp/products/common/db poms_jobsub_wrapper` # args: NOTE args order matter echo -e "\nRunning\n `basename $0` $@” cd /dune/app/home/dunepro/protodune-sp/DC1.5 if [ x"$1" = "x--recovery" ] then dataset="$2" else dataset=$(./new_files_in.sh -e dune -d dc1.5_input) fi # IKF: uncomment for debugging dataset=dc1.5_input # numfiles=$(samweb -e dune count-definition-files ${dataset}) numfiles=10 echo "dataset=${dataset}" echo "numfiles=${numfiles}" # IKF: This was in the jobsub_submit, figure out later how it interacts with role & subgroup, for starters remove # -l "priority=5" \ jobsub_submit \
file:///dune/app/home/dunepro/protodune-sp/DC1.5/mini_reco_lar.sh EXITCODE=$? echo "jobsub_submit terminated with exit code ${EXITCODE}"
Convention: environment variables starting with DUNEPRO_ modify launch behavior NB Launch script not yet modified to use this
Temp directory only exists during launch Only permanent record is in git repository
DUNEPRO_NAME=“many words”
worker nodes through jobsub_submit
One repository for job launch
One repository for worker node scripts
via POMS parameter overrides (previous slide)
(done, thanks to Ken Herner’s intervention on pomsgpvm01)
behavior