-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrivanna.conf
97 lines (82 loc) · 2.26 KB
/
rivanna.conf
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
include required(classpath("application"))
# Cromwell "system" settings
system {
# If 'true' then when Cromwell starts, it tries to restart incomplete workflows
workflow-restart = true
# Number of seconds between workflow launches
new-workflow-poll-rate = 300
job-rate-control {
jobs = 3
per = 1 second
}
}
call-caching {
enabled = true
invalidate-bad-cache-results = true
write_to_cache = true
read_from_cache = true
}
workflow-options {
workflow-failure-mode = "ContinueWhilePossible"
}
# Database connections
database {
profile = "slick.jdbc.MySQLProfile$"
db {
driver = "com.mysql.jdbc.Driver"
url = "jdbc:mysql://{Host}/{DBName}?rewriteBatchedStatements=true"
user = "{user}"
password = "{password}"
insert-batch-size = 2000
connectionTimeout = 50000
}
}
backend {
# Override the default backend.
default = "SLURM"
# The list of providers.
providers {
SLURM {
actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
config {
run-in-background = false
root = "cromwell-workdir"
filesystems {
local {
localization: ["soft-link", "hard-link", "copy"]
caching {
duplication-strategy: ["soft-link", "hard-link", "copy"]
hashing-strategy: "path+modtime"
check-sibling-md5: false
}
}
}
concurrent-job-limit = {limit}
script-epilogue = ""
runtime-attributes = """
Int nodes = 1
Int ntasks = 1
Int cpus = 1
String time = "1-00:00:00"
String partition = "standard"
Int requested_mem_per_cpu = 6000
String account = "{account}"
"""
submit = """
sbatch -J ${job_name} -D ${cwd} -o ${out} -e ${err} \
-N ${nodes} \
--ntasks=${ntasks} \
--cpus-per-task=${cpus} \
--time=${time} \
--partition=${partition} \
--mem-per-cpu=${requested_mem_per_cpu} \
-A ${account} \
--wrap "/bin/bash ${script}"
"""
kill = "scancel ${job_id}"
check-alive = "squeue -j ${job_id}"
job-id-regex = "Submitted batch job (\\d+).*"
}
}
}
}