Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. process {
  2. container = 'mydefault_container'
  3.  
  4. withLabel: with_cpus {
  5. cpus = 1
  6. memory = '7G'
  7. }
  8.  
  9. withLabel: with_gpus {
  10. maxForks = 1
  11. containerOptions = { workflow.containerEngine == "singularity" ? '--nv':
  12. ( workflow.containerEngine == "docker" ? '--gpus all': null ) }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement