-
Notifications
You must be signed in to change notification settings - Fork 109
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
Recursive clone fails on Orion #826
Comments
@CatherineThomas-NOAA Thanks for letting me know. I did not realize that failed on Orion. I usually do a regular clone, then I will update the wiki page accordingly. |
Thanks @GeorgeGayno-NOAA. I gave it a try and yes doing it that way worked for me. I was also able to build successfully. I noticed that the |
No. Only the |
Great, good to know. The problem now is that it still fails in the global workflow. I tried it step by step and this is the line in It's specifically the "recursive" part since this works: The checkout script is generic for all repos, so I'm not sure what's the best way to handle it. Even if the failure isn't actually a problem, many users (like me) will see an error on checkout and spend time on fixing something unnecessary. Any ideas? Should we loop in the workflow team at this point? |
Tagging in @KateFriedman-NOAA. Recall, I made a related fix to the build script - #819. |
Thanks for tagging me @GeorgeGayno-NOAA ...taking a look... |
I am unable to reproduce the checkout error on Orion. I cloned global-workflow
Checkout log:
I also cloned global-workflow Additionally, we've started trialing automated CI tests in global-workflow in the past couple weeks and I don't recall them flagging checkout errors for UFS_UTILS on Orion (same hash of UFS_UTILS). @CatherineThomas-NOAA for your case, to see if a modified checkout option would help, I edited a copy of Edited copy: My edited copy doesn't get the physics/rte-rrtmgp submodule:
Original checkout:
Not sure if we want to disable the recursive flag but I'm interested if this works for you. Since I can't reproduce the checkout error and it's only happening on Orion I don't want to suggest modifying the UFS_UTILS checkout in g-w right now. My next thought is something different with your account environment or a transient issue on Orion during checkout? Does the checkout error keep happening with fresh clones of g-w @GeorgeGayno-NOAA did you say we don't need the physics/rte-rrtmgp submodule? If so, perhaps removing the |
Correct. That submodule is not needed. If you don't do a recursive clone, you only need to do |
@GeorgeGayno-NOAA, I believe we got similar issues for HAFS GitHub repository on Orion. The issue we found is that the default git version on Orion is pretty old. And if you |
Thanks @BinLiu-NOAA. I get the same result. When I tried the latest version of git on Orion (2.28.0), the command |
Thanks @BinLiu-NOAA! Yes, this also worked for me. Everything checked out fine, including rte-rrtmgp, once I explicitly loaded git/2.21.0.
@KateFriedman-NOAA Yes, it happened very reliably, both in the global workflow and then in the ufs_utils repo as a standalone. But the module load seems to solve it for me. What do you think is the best course from here? Add a note in the RTD about loading? Load the module directly from checkout.sh? |
Ah, this isn't the first time that the stock/older git version on Orion has bitten us. We recommend users use I'll talk to the others about maybe loading the git module from |
Thanks for pointing out that part of the documentation @KateFriedman-NOAA. Sounds to me like this issue can be closed now. |
@DusanJovic-NOAA just noted the same problem. His comments below: I think this happens because the ccpp-physics that UFS_UTILS is pointing to is an old commit, which uses non existing rte-rrtmgp branch. Current UFS_UTILS points to ccpp-physics @ 12c115e, which in turn points to rte-rrtmgp @ 7f01618, which does not belong to any branch In the ufs-weather-model (i.e. in fv3atm) we point to ccpp ufs/dev branch in ccpp-physics fork under ufs-community, not to NCAR's repository. Maybe you can also point to the same fork/branch for consistency and to avoid this kind of clone error when people are not using the latest version of git. |
Will reopen this issue and try @DusanJovic-NOAA suggestion. |
Created a new branch at 0ddbac3 |
Point to the ufs-community fork instead of the NCAR fork, which will eliminate problems when cloning with old versions of git. Fixes #826.
I am unable to clone the UFS_UTILS module recursively on Orion. I used the command as specified in the wiki:
git clone --recurse-submodules git@github.com:ufs-community/UFS_UTILS.git
The error occurs here:
I get the same error when running
checkout.sh
as part of the global-workflow. The log for the global-workflow checkout can be found here:/work2/noaa/da/cthomas/git/global-workflow/develop.20230518.c/sorc/logs/checkout_ufs_utils.log
No errors occur when I clone on Hera.
The text was updated successfully, but these errors were encountered: