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

Where to put modified source files ?

Mikasa

sky
Member
I have made changes on files in '/cime/src/drivers/mct/shr/' and '/cime/src/share/util/'. Should I put them all in '/SourceMods/src.share/' ?
 

jedwards

CSEG and Liaisons
Staff member
You can put them in the SourceMods directory but my suggestion would be to keep them in the source tree and create a git fork so that your changes are under version control. SourceMods is a mechanism that predates the use of git with cesm.
 

Mikasa

sky
Member
You can put them in the SourceMods directory but my suggestion would be to keep them in the source tree and create a git fork so that your changes are under version control. SourceMods is a mechanism that predates the use of git with cesm.
In the SourceMods directory, which subdirectory should I put them in ? src.drv or src.share ? And I will consider using git later.
 

jedwards

CSEG and Liaisons
Staff member
I think that they would go in src.share but you should confirm by checking the build logs after compiling.
 
Top