ufs-community / ccpp-physics

UFS fork for CCPP
Other
3 stars 31 forks source link

cannot checkout CCPP on Orion #167

Open hu5970 opened 5 months ago

hu5970 commented 5 months ago

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

climbfuji commented 5 months ago

Duplicate of #165