New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output directory creation can fail on lustre filesystems #53
Comments
|
Hey, @ctrapnell! Just curious how open you would be if I submitted a PR and tried to tackle this one to actually accepting a patch? Some people like their code to always be their code. |
|
That would be great! Thanks for offering to help. Cole Cole Trapnell Sent from On Tue, Aug 16, 2016 at 11:28 AM jrdemasi <
a, pre, code, a:link, body { word-wrap: break-word !important; } Hey, — You are receiving this because you were mentioned. Reply to this email directly, |
|
@dctrud Didn't actually read the entirety of your post, but am not going to double up on a PR if you've already patched it. Can you let me know your progress on this? Thanks! |
|
@jrdemasi - sorry for very slow repy. Didn't actually patch locally in the end. We have a workaround for our workflows to just create directories first, and our vendor is going to supply a patched lustre as we have similar issues with other software, particularly MATLAB. |
|
cufflinks should get |
|
@thiell Is that issue directly related to the lustre bug described in this? I actually have a path for this but have been extremely lazy in making a PR (sorry, @ctrapnell!) |
|
@jrdemasi yes.. it is related to this issue, but what I say is that it is first a cufflinks bug and not a lustre bug, as it is POSIX (weird) behavior that can also occur on NFS. I just noticed that another person proposed a PR (#80) for that issue too, it seems. We have several reports of users having this problem on our site so I ended up here. Recent versions of Lustre will include a workaround for this, as it is recognized that this POSIX behavior is inconsistent, but cufflinks should be fixed too IMHO. |
|
Oh, looks like I don't even need to submit a PR then unless @ctrapnell
doesn't want a solution based in boost, as mine was just C++ I wrote
without any new libraries.
Thanks for pointing that out
…On Mar 4, 2017 12:08, "thiell" ***@***.***> wrote:
@jrdemasi <https://github.com/jrdemasi> yes.. it is related to this
issue, but what I say is that it is first a cufflinks bug and not a lustre
bug, as it is POSIX (weird) behavior that can also occur on NFS. I just
noticed that another person proposed a PR (#80
<#80>) for that issue
too, it seems. We have several reports of users having this problems on our
site so I ended up here. Recent versions of Lustre will include a
workaround for this, as it is recognized that this POSIX behavior is a it
weird, but cufflinks should be fixed too IMHO.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARqQJ3WEfgX5Q3jnLhlEeLlTTGCR3wFLks5ribaTgaJpZM4HarXG>
.
|
We are using cufflinks on an HPC system with the main project space on a lustre filesystem. We noticed cufflinks routinely failing for users when they specified an absolute path for an output directory with -o
On further investigation it appears that the
mkpathfuntion insrc/common.cppis recursive and callingmkdirat each level of the requested path, from root to tip. If a level exists it expects, and handles, anEEXISTerror from mkdir.Unfortunately lustre can return
EPERMfor mkdir against an existing directory:https://jira.hpdd.intel.com/browse/LU-4185
This is a long-standing issue with lustre, which doesn't appear to be going away. We don't hit it in other software that does recursive directory creation as they generally call
statto find how much of the structure exists, rather than relying onEEXISTbeing returned frommkdir.I will patch cufflinks locally for this issue, to use stat in this manner. Would this be considered as a PR?
The text was updated successfully, but these errors were encountered: