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

submodule checkout is not working #146

Open
jedwards4b opened this issue Jul 14, 2020 · 3 comments
Open

submodule checkout is not working #146

jedwards4b opened this issue Jul 14, 2020 · 3 comments
Labels

Comments

@jedwards4b
Copy link
Collaborator

git checkout https://github.com/ESCOMP/UFSCOMP.git -b ufs-s2s-app
cd UFSCOMP
./manage_externals/checkout_externals

the issue is that git submodule src/model/FV3/ccpp/frameworkdoes not get checked out.   I don't understand why.

@gold2718
Copy link
Collaborator

I believe that this is because you have another external called FV3 (from the Externals_s2s.cfg externals). That external is being consulted instead of the .gitmodules file.

@jedwards4b
Copy link
Collaborator Author

I tried to add these to Externals_fv3.cfg explicitly

[atm_cubed_sphere]
protocol = git
from_submodule = True
required = True

[ccpp/framework]
protocol = git
from_submodule = True
required = True

[ccpp/physics]
protocol = git
from_submodule = True
required = True

[fv3gfs_interface]
hash = 8b1014a421
protocol = git
repo_url = https://github.com/ESCOMP/fv3gfs_interface.git
local_path = cime
required = True

[externals_description]
schema_version = 1.0.0

and that results in
ERROR:root:Cannot checkout "ccpp/framework" from submodule information
Parent repo, "fv3" does not have submodules

@gold2718
Copy link
Collaborator

What I do not understand is the error message is happening before FV3 is checked out (which is why there are no submodules).

@billsacks billsacks added the bug label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants