Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
 
Top