rebuild only one cesm component (e.g. ocean model)

Dear Forum, I am doing some debugging on some modified code (placed in the SourceMods directory of my case). Using build and cleanbuild after each code modification and test run takes a lot of time as all the other (non-modified) model components are re-compiled as well. Is there a CESM script available that just re-compiles the modified component and keeps the old binaries of the other model components? Thanks!
 

jedwards

CSEG and Liaisons
Staff member
You shouldn't need to do the clean_build step when modifying source in SourceMods.   The make tools will figure out the dependancies and only recompile what you need.
 
Back
Top