Hi,
I am using cwltool --tmpdir-prefix <mydir> --tmp-outdir-prefix <mydir> to specify a temp / staging directory other than the system /tmp (since the size of the intermediate files produced can be huge in my case). How do I access this dir in the cwl script, so a commandline tool could use this instead of /tmp?
Does your CWL CommandLineTool use a DockerRequirement? If so, then that /tmp path is a path inside the docker container. This should be mapped to a path in mydir; if not, that’s a bug in cwltool.
However, I just noticed for this particular CWL script even the input file is NOT staged in <mydir> (even though for other CWL in the pipeline, which incidentally do use DockerRequirement, it is).