Skip to content
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

cannot checkout CCPP on Orion #167

Open
hu5970 opened this issue Feb 7, 2024 · 1 comment
Open

cannot checkout CCPP on Orion #167

hu5970 opened this issue Feb 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hu5970
Copy link

hu5970 commented Feb 7, 2024

Description

When I checkout the model on Orion, it gives me error like:

Orion-login-3[136] minghu$ git submodule update --recursive --init
error: invalid key (newline): submodule.physics/rte-rrtmgp
physics/Radiation/RRTMGP/rte-rrtmgp.url
error: invalid key (newline): submodule.physics/rte-rrtmgp
physics/Radiation/RRTMGP/rte-rrtmgp.url
No url found for submodule path 'physics/Radiation/RRTMGP/rte-rrtmgp' in .gitmodules

I found that the ".gitmodules" in "ufs-weather-model/FV3/ccpp/physics" has two parts:

[submodule "physics/rte-rrtmgp"]
  path = physics/Radiation/RRTMGP/rte-rrtmgp
  url = https://github.com/earth-system-radiation/rte-rrtmgp
  branch = main
[submodule "physics/Radiation/RRTMGP/rte-rrtmgp"]
        path = physics/Radiation/RRTMGP/rte-rrtmgp
        url = https://github.com/earth-system-radiation/rte-rrtmgp

If I delete the first part, I can check out the CCPP.

Steps to Reproduce

git checkout on Orion

@hu5970 hu5970 added the bug Something isn't working label Feb 7, 2024
@climbfuji
Copy link

Duplicate of #165

@climbfuji climbfuji marked this as a duplicate of #165 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants