123456789101112131415161718 |
- #!/bin/sh
- FILE_LIST=$1
- OUTDIR=$2
- DCAFILE=$3
- STARTING_DIR=$PWD
- cd $OUTDIR
- while read FILENAME; do
- AFTERSLASHNAME=${FILENAME##*/}
- BASENAME=${AFTERSLASHNAME%.*}
- sbatch /lustre/nyx/hades/user/parfenov/mpd_summer2019/real-flow/example-resolutions.sh ${FILENAME} ${OUTDIR}/${BASENAME}_res_out.root ${DCAFILE}
- done <$FILE_LIST
- cd $STARTING_DIR
|