-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_xml_1_batch_no_slurm.sh
62 lines (51 loc) · 2.61 KB
/
start_xml_1_batch_no_slurm.sh
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env bash
#
# This is the first step Extract the xml files using R
# Places them in the data_extracted directory
# Configuration files in rscripts/
# rscript/config_baseline.R and rscript/config_update.R
#
# Default Directories, create if needed
#
mkdir -p data_extracted/baseline
mkdir -p data_extracted/baseline/detail/
mkdir -p data_extracted/baseline/author
mkdir -p data_extracted/baseline/mesh
mkdir -p data_extracted/baseline/brief
mkdir -p data_extracted/updatefiles
mkdir -p data_extracted/updatefiles/detail
mkdir -p data_extracted/updatefiles/author
mkdir -p data_extracted/updatefiles/mesh
mkdir -p data_extracted/updatefiles/brief
#
# Run R script.
#
#
run_xml_extractions_1_no_slurm.sh
run_xml_extractions_1_no_slurm.sh detail rscripts/config_update.R 1 1
run_xml_extractions_1_no_slurm.sh mesh rscripts/config_update.R 1 1
run_xml_extractions_1_no_slurm.sh brief rscripts/config_update.R 1 1
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 1 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 2 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 3 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 4 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 5 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 6 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 7 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 8 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_update.R 9 9
# Baseline (the number at the end are process #, total number processes)
run_xml_extractions_1_no_slurm.sh detail rscripts/config_baseline.R 1 2
run_xml_extractions_1_no_slurm.sh detail rscripts/config_baseline.R 2 2
run_xml_extractions_1_no_slurm.sh mesh rscripts/config_baseline.R 1 2
run_xml_extractions_1_no_slurm.sh mesh rscripts/config_baseline.R 2 2
run_xml_extractions_1_no_slurm.sh brief rscripts/config_baseline.R 1 2
run_xml_extractions_1_no_slurm.sh brief rscripts/config_baseline.R 2 2
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 1 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 2 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 3 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 4 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 5 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 6 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 7 8
run_xml_extractions_1_no_slurm.sh author rscripts/config_baseline.R 8 8