Guest User

Untitled

a guest
Oct 21st, 2019
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data