Hi,
can someone help me understand allocating resources to workflows?
I’m trying to run a rather simple workflow, scattered over an array of inputs (i.e. samples). Per sample the workflow creates ca. 10GB temporary data, which I would not want to pile up for 100 samples. The workflow works fine with the --cachedir
option. However, it fails in a simple concatenate step due to missing disk space (cat: write error: No space left on device
).
Adding ResourceRequirement: tmpdirMin: 1000000
did not help.
Also, I was wondering about the “ResourceRequirement” overall.
I would expect a CommandLineTool to fail, if no space is “allowed”.
class: CommandLineTool
cwlVersion: v1.2
requirements:
ResourceRequirement:
tmpdirMin: 0
tmpdirMax: 0
outdirMax: 0
outdirMin: 0
baseCommand: cat
inputs:
- id: files
type: File[]
inputBinding:
position: 1
outputs:
concatenatedFasta:
type: File
streamable: true
outputBinding:
glob: cat.out
stdout: cat.out
Thanks!