How to use the git-fleximod to update the submodule under each component

Joanna Liu

Zehui Liu
New Member
Hi,
I'm trying to run cesm3_0_beta01 on derecho, and already used 'bin/git-fleximod update' to get all of the externals.
I am wondering how to update the submodule under each component.
For example, in the ./my_cesm_sandbox/components/cam directory, Externals_CAM.cfg was used to update CAM's submodules (such as chem_proc and hemco) in the previous CESM version.
Now, there is .gitmodules to show similar content. But when I use the command "./bin/git-fleximod update hemco", it failed with"No submodule components found"
Looking forward to any response.
Best, Zehui
 

jedwards

CSEG and Liaisons
Staff member
The best way to do this is to checkout cam standalone, update the hemco there and then create a cam branch,
then update cesm to point to the new cam branch. There is a bug in the git-fleximod version distributed with cesm3_0_beta01
that does not handle recursion very well. It has already been reported and resolved.
 

Joanna Liu

Zehui Liu
New Member
The best way to do this is to checkout cam standalone, update the hemco there and then create a cam branch,
then update cesm to point to the new cam branch. There is a bug in the git-fleximod version distributed with cesm3_0_beta01
that does not handle recursion very well. It has already been reported and resolved.
Great! Looking forward to the next updated version.
 
Back
Top