enqueue_pipeline.sh 626 Bytes
Newer Older
Chris Jewell's avatar
Chris Jewell committed
1
2
3
4
#!/bin/bash

# Enqueues COVID-19 pipelines

5
6
7
COMMUTE_VOL_FILE="data/210122_OFF_SEN_COVID19_road_traffic_national_table.xlsx"
DATE_LOW="2020-10-30"
DATE_HIGH="2021-01-22"
Chris Jewell's avatar
Chris Jewell committed
8
9

TEMPLATE_CONFIG=template_config.yaml
10
JSV_SCRIPT=/usr/shared_apps/packages/sge-8.1.9-gpu/default/common/sge_request.jsv.2.0b
Chris Jewell's avatar
Chris Jewell committed
11
12
13

# Job submisison
switch-gpu
Chris Jewell's avatar
Chris Jewell committed
14
15
16
17
18
19
20
RESULTS_DIR=$global_scratch/covid19/scotland_${DATE_HIGH}_notier
JOB_NAME="covid_scotland_${DATE_HIGH}_notier"	
qsub -N $JOB_NAME covid_pipeline.sge \
     --commute-volume "$COMMUTE_VOL_FILE" \
     --date-range $DATE_LOW $DATE_HIGH \
     --results-dir "$RESULTS_DIR" \
     --config $TEMPLATE_CONFIG