mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-26 01:39:55 +00:00
cbe: add gpu support
just in case.. note that this will need --nv in containerOptions in order to mount cuda libs into the container
This commit is contained in:
parent
a6dd3aa0f1
commit
49810a69b3
1 changed files with 1 additions and 3 deletions
|
@ -9,9 +9,7 @@ process {
|
||||||
executor = 'slurm'
|
executor = 'slurm'
|
||||||
queue = { task.memory <= 170.GB ? 'c' : 'm' }
|
queue = { task.memory <= 170.GB ? 'c' : 'm' }
|
||||||
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
|
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
|
||||||
|
clusterOptions = { ( task.queue == 'g' ? '--gres gpu:1 ' : '' ) << ( (task.queue == 'c' & task.time <= 1.h) ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) }
|
||||||
// --signal option will be handled by nextflow after 21.10.0 release (see https://github.com/nextflow-io/nextflow/issues/2163)
|
|
||||||
clusterOptions = { '--signal B:USR2 ' << ( (queue == 'c' & task.time <= 1.h) ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
singularity {
|
singularity {
|
||||||
|
|
Loading…
Reference in a new issue