-
Notifications
You must be signed in to change notification settings - Fork 145
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
Feat/pb-fq2bammeth #451
base: dev
Are you sure you want to change the base?
Feat/pb-fq2bammeth #451
Conversation
|
@@ -216,6 +217,12 @@ profiles { | |||
executor.cpus = 4 | |||
executor.memory = 8.GB | |||
} | |||
gpu { | |||
use_gpu = true | |||
docker.runOptions = '-u $(id -u):$(id -g) --gpus device=0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not --gpus all
?
input = "${projectDir}/assets/samplesheet_gpu.csv" | ||
fasta = "${params.pipelines_testdata_base_path}/reference/genome.fa" | ||
fasta_index = "${params.pipelines_testdata_base_path}/reference/genome.fa.fai" | ||
outdir = 'results' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use_gpu = true
?
Without that, this is just a non-gpu test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the use_gpu param is set in the when.param block
@@ -52,6 +52,9 @@ process { | |||
withLabel:process_high_memory { | |||
memory = { 200.GB * task.attempt } | |||
} | |||
withLabel:process_gpu { | |||
ext.use_gpu = { use_gpu } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this line do?
@@ -216,6 +217,12 @@ profiles { | |||
executor.cpus = 4 | |||
executor.memory = 8.GB | |||
} | |||
gpu { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the pipeline is started with this profile, the specified settings will be applied to every process.
I think we should apply these settings only to PARABRICKS_FQ2BAMMETH
. Or am I missing something?
No description provided.