Closed denis-yuen closed 8 years ago
Warning, this takes around 24 hours to run to failure and a pretty beefy machine
I think I have encountered this error before when I was developing the WDL version... It occurred when the .Rprofile file wasn't being loaded by R because I had changed the home directory.
I wonder if this means the --user=1000
parameter that cwltool adds to the docker run invocation is messing with something. I'll poke around.
what was the resolution to the issue?
It turns out cwltool replaces the contents of the working directory when running a docker container. Since that is where the .Rprofile file lives, it gets wiped out resulting in the error above. So we simply create that file anew in the working directory which seems to do the trick. Using a bigger and beefier machine handled the other issue which I suspect was just an out of space error that one of the underlying tools reacted to as a division by zero error.
Otherwise, the rest of the changes are just minor syntax changes for CWL 1.0.
Currently attempting to execute the workflow with the test data on the branch https://github.com/ICGC-TCGA-PanCancer/CGP-Somatic-Docker/tree/feature/cwl1
Command is
which becomes
Looking at https://github.com/ICGC-TCGA-PanCancer/CGP-Somatic-Docker/blob/develop/Dockstore_cwl.json
corresponds to
https://github.com/ICGC-TCGA-PanCancer/CGP-Somatic-Docker/blob/feature/cwl1/test2.json
Currently fails with the following messages