Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- process {
- container = 'mydefault_container'
- withLabel: with_cpus {
- cpus = 1
- memory = '7G'
- }
- withLabel: with_gpus {
- maxForks = 1
- containerOptions = { workflow.containerEngine == "singularity" ? '--nv':
- ( workflow.containerEngine == "docker" ? '--gpus all': null ) }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement