Skip to content

Commit

Permalink
parameterize beast GPU settings (#158)
Browse files Browse the repository at this point in the history
* parameterize beast GPU settings
  • Loading branch information
tomkinsc authored Oct 2, 2020
1 parent 770d9fe commit 0a48243
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pipes/WDL/tasks/tasks_interhost.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ task multi_align_mafft {
task beast {
input {
File beauti_xml

String? accelerator_type
Int? accelerator_count
String? gpu_type
Int? gpu_count

String docker="quay.io/broadinstitute/beast-beagle-cuda:1.10.5pre"
}
Expand Down Expand Up @@ -123,10 +128,10 @@ task beast {
gpu: true # dxWDL
dx_timeout: "40H" # dxWDL
dx_instance_type: "mem1_ssd1_gpu2_x8" # dxWDL
acceleratorType: "nvidia-tesla-k80" # GCP PAPIv2
acceleratorCount: 4 # GCP PAPIv2
gpuType: "nvidia-tesla-k80" # Terra
gpuCount: 4 # Terra
acceleratorType: select_first([accelerator_type, "nvidia-tesla-k80"]) # GCP PAPIv2
acceleratorCount: select_first([accelerator_count, 4]) # GCP PAPIv2
gpuType: select_first([gpu_type, "nvidia-tesla-k80"]) # Terra
gpuCount: select_first([gpu_count, 4]) # Terra
nvidiaDriverVersion: "410.79"
}
}
Expand Down

0 comments on commit 0a48243

Please sign in to comment.