forked from Petti-Lab/Single_cell_WDLworkflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cromwell_compute1.config
executable file
·55 lines (55 loc) · 1.79 KB
/
cromwell_compute1.config
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
include required(classpath("application"))
backend {
default = "LSF"
providers {
LSF {
actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
config {
runtime-attributes = """
Int maxRetries = 5
Int cpu = 1
Int memory_kb = 4096000
Int memory_mb = 4096
String? docker
"""
submit = """
LSF_DOCKER_PRESERVE_ENVIRONMENT=false \
bsub \
-J ${job_name} \
-cwd ${cwd} \
-o /dev/null \
-e /scratch1/fs1/alberthkim/khan.saad/logs/cromwell-%J.err \
-M ${memory_mb} \
-n ${cpu} \
-R "select[mem>${memory_mb}] rusage[mem=${memory_mb}] span[hosts=1]" \
/bin/sh ${script}
"""
submit-docker = """
LSF_DOCKER_VOLUMES="/storage1/fs1/bga/Active:/storage1/fs1/bga/Active /scratch1/fs1/alberthkim/khan.saad/:/scratch1/fs1/alberthkim/khan.saad/ ${cwd}:${docker_cwd}" \
LSF_DOCKER_PRESERVE_ENVIRONMENT=false \
bsub \
-G compute-alberthkim \
-J ${job_name} \
-cwd ${cwd} \
-o /dev/null \
-e /scratch1/fs1/alberthkim/khan.saad/logs/cromwell-%J.err \
-a "docker(${docker})" \
-q general \
-M ${memory_mb} \
-n ${cpu} \
-R "select[mem>${memory_mb}] rusage[mem=${memory_mb}] span[hosts=1]" \
/bin/sh ${script}
"""
kill = "bkill ${job_id}"
docker-kill = "bkill ${job_id}"
docker_kill = "bkill ${job_id}"
check-alive = "bjobs -noheader -o stat ${job_id} | /bin/grep 'PEND\\|RUN'"
job-id-regex = "Job <(\\d+)>.*"
root = "/scratch1/fs1/alberthkim/khan.saad/logs/executions"
}
}
}
}
workflow-options {
workflow-log-dir = "/scratch1/fs1/alberthkim/khan.saad/logs/workflows"
}