-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbatchSubmissionScript.sh
More file actions
executable file
·29 lines (27 loc) · 1019 Bytes
/
batchSubmissionScript.sh
File metadata and controls
executable file
·29 lines (27 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Lxplus Batch Job Script
export WMASS_SO="XXX"
export PY_WRAPPER="YYY"
export EOS_DIR="ZZZ"
export BASEDIR="AAA"
export FILENAME="BBB"
export OUTDIR="CCC"
export THISDIR="DDD"
export CHARGE="EEE"
export LUMI="FFF"
echo "BATCH: i am here"
$PWD
echo "BATCH: this is in the directory"
$LS
echo "BATCH: getting the shared object..."
cp $WMASS_SO .
echo "ensuring the output directory exists"
mkdir -p $BASEDIR/$OUTDIR
echo "BATCH: copying the executable here"
cp $THISDIR/$PY_WRAPPER .
echo "==========================================================================="
echo "=============== i am going to run this command ============================"
echo python $PY_WRAPPER $EOS_DIR -o $BASEDIR/$OUTDIR/ -f $FILENAME -c $CHARGE -l $LUMI
echo "==========================================================================="
echo "==========================================================================="
echo "BATCH: starting the job"
python $PY_WRAPPER $EOS_DIR -o $BASEDIR/$OUTDIR/ -f $FILENAME -c $CHARGE -l $LUMI