Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameterize beast GPU settings #158

Merged
merged 2 commits into from
Oct 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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