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

Building after changing files in cime/src/drivers

sur23beeb

ST
Member
I am doing some debugging and want to add write statements to this file:

cime/src/drivers/mct/shr/seq_infodata_mod.F90

What is the best way of going about this?

The way to test changes to files under one of the components is to place a copy in the appropriate folder in Sourcemods within $CASEROOT. But what about changes to files under cime/src ?
 

jedwards

CSEG and Liaisons
Staff member
Files in the mct/shr directory are included in the csm_share build step and can be placed in SourceMods/src.share

You should confirm this by checking the bld log and assuring that the correct copy of seq_infodata_mod.F90 was used.
 

sur23beeb

ST
Member
Thanks for the quick reply. After copying the file over to SourceMods/src.share, is it sufficient to run case.build or do I also need to run 'case.build --clean-all before?
 
Top