-
Notifications
You must be signed in to change notification settings - Fork 41
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
unnecessary (?) installation failure when git lfs detects "short" files #587
Comments
Did you try I just had a look at OzSTAR, and it seems to use Environment Modules for loading software. Have you tried to |
yes I tried all of those things, many times (hence "no matter how many times I pulled"). Simply commenting out the exit command got me through the installation, which I think means that exit command doesn't need to be there. We could be causing more failed installations than is actually necessary |
I encountered a filesystem issue a while back where I would get installation errors of this nature because the filesystem took a bit of time to update the file properties, such that it would trigger this failure even though lfs was properly installed. At least for me, an adequate solution on Cannon was to set this environment variable: When that is set, the install script pauses for 60 seconds to give the filesystem a chance to catch up, and then it usually passes the file size test. Any chance that solves your issue? |
interesting! I definitely didn't try that. My issue is resolved in the short term with my (possibly stupid but seemingly also not dangerous) work-around. I'll investigate, but regardless: is it worth terminating the installation over this short file detection issue? wouldn't a warning suffice? |
In the case where git-lfs actually isn't installed/loaded, I think you might end up getting weird errors much later in the installation that are difficult to interpret. Maybe one of us should try that out to see how bad it is. |
current in-dev MESA version at time of posting: mesa/data/version_number = acd763a
remote installation on OzSTAR HPC cluster
since I don't have root access here, I manually installed git lfs using these instructions: git-lfs/git-lfs#4134
this got me past the "git lfs not installed" issue successfully, but I kept encountering versions of
"Some data files were not successfully retrieved" no matter how many times I pulled. I finally went into the install script and commented out
exit 1
in the block:when I ran
./install
after this, I got a warning (but no exit) for seemingly every large file, but then the MESA installation proceeded as normal and concluded successfully.To me, it seems like the above code block assumes that detection of "short" large files will automatically result in a botched install, but then it doesn't (necessarily). In which case, we're causing installation failures that we don't need to. Can the install script be modified in some way to avoid this? Perhaps replacing the forced exit with a warning?
The text was updated successfully, but these errors were encountered: