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?
 
Back
Top