SHARE
TWEET

Untitled

a guest Oct 21st, 2019 84 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top