123456789101112131415161718192021222324 |
- #!/bin/sh
- FILE_LIST=$1
- OUTDIR=$2
- RES_FIT_FILE=$3
- DCAFILE=$4
- # COMMIT=Kaons
- # OUTDIR=$OUT/$COMMIT
- # mkdir -p $OUTDIR
- STARTING_DIR=$PWD
- cd $OUTDIR
- while read FILENAME; do
- AFTERSLASHNAME=${FILENAME##*/}
- BASENAME=${AFTERSLASHNAME%.*}
- sbatch /lustre/nyx/hades/user/parfenov/mpd_summer2019/real-flow/example-flow.sh ${FILENAME} ${OUTDIR}/${BASENAME}_flow_out.root ${RES_FIT_FILE} ${DCAFILE}
- done <$FILE_LIST
- cd $STARTING_DIR
|