-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I am trying to udpate a submodule of cam (in my case oslo_aero) to my own branch
I have tried the following:
> git clone https://github.com/NorESMhub/NorESM noresm3_0_beta03
> cd noresm3_0_beta03
> git checkout noresm3_0_beta03
> ./bin/git-fleximod update
in components/cam/.gitmodules I make the following change from
[submodule "oslo_aero"]
path = src/chemistry/oslo_aero
url = https://github.com/NorESMhub/OSLO_AERO
fxtag = oslo_aero_3_0a007
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/NorESMhub/OSLO_AERO.git
to
[submodule "oslo_aero"]
path = src/chemistry/oslo_aero
url = https://github.com/mvertens/OSLO_AERO
fxtag = 2218bd9
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/NorESMhub/OSLO_AERO.git
And I tried the following test1:
> cd components/cam
> ./bin/git-fleximod update oslo_aero
No submodule components found, root_dir=/cluster/projects/nn10013k/mvertens/src/noresm3_0_beta03
then test2:
> ./bin/git-fleximod update
Recursively checking out submodules of cime
Recursively checking out submodules of blom
Recursively checking out submodules of cam
Recursively checking out submodules of cdeps
Recursively checking out submodules of cice6
Recursively checking out submodules of cism
Recursively checking out submodules of clm
Recursively checking out submodules of ww3
atmos_phys up to date.
Recursively checking out submodules of atmos_phys
carma up to date.
chem_proc up to date.
Sparse checkout clubb fxsparse ../.clubb_sparse_checkout
clubb up to date.
Sparse checkout cosp2 fxsparse ../.cosp_sparse_checkout
cosp2 up to date.
hemco up to date.
Recursively checking out submodules of hemco
oslo_aero updated to 2218bd9. <============= this seemed to work now
pumas up to date.
pumas-frozen up to date.
rrtmgp-data up to date.
rte-rrtmgp up to date.
Skipping optional component ali_arms
Skipping optional component cloud_j
Skipping optional component geoschem
Skipping optional component hetp
Skipping optional component mpas
Skipping optional component AeroTab
Skipping optional component CUPiD
Recursively checking out submodules of src
Test2 seems to work - but why did test1 not work?
Metadata
Metadata
Assignees
Labels
No labels