Override TMPDIR etc. to /tmp for skynet bdsf run - #127
Conversation
|
I ran into the same issue this morning, so I am very happy with this fix :-) |
|
This can be solved by adding the following lines to the CWL No need to tweak the environment in your Python script. HOWEVER -- roadblock ahead! -- the latest |
I tried adding at first, but that didn't seem to take hold and still use my locally defined There seem to be a couple of breaking changes in recent cwltool indeed, as I cannot run or validate LINC with many of them beyond the versions mentioned in the JSON error ticket at LINC. |
|
I think it would help if we discuss why that error appears. It may be a problem with bdsf. At a glance I would be inclined to agree with @gmloose. I can confirm that the bug appears in both cwltool and toil (though The latest version of cwltool which doesn't have this problem (and I can install via pip) is 3.1.20240708091337, which is quite old. One flocs version that has a working version of cwltool is v.5.4.0. |
|
Flocs versions as recent as v5.7.0 don't seem to have the bug that @gmloose described. |
|
I guess one question is now then: how long should we wait for the fix to be merged? In this small scenario I think function should take priority over form. We can't seem to run this aspect of the pipeline without one of these fixes and downgrading Toil and cwltool would reintroduce other bugs that have been fixed since. |
This addresses an issue where PyBDSF will crash with
OSError: AF_UNIX path too longdue to a temporary directory path becoming too long. This prevented me from running delay calibration with amodel_imagespecified on cosma.