...
Be sure not to forget to source $case/.env_mach_specific.sh first so that your environment matches the CIME build environment. 'cd $EXEROOT/cmake-bld' . Just find and edit the appropriate link.txt file (will typically be cmake/cpl/CMakeFiles/e3sm.exe.dir/link.txt, edit, and re-run make).
Temporarily tweaking compiler flags for an entire component
For example, for atm:
Code Block |
---|
% edit cmake/atm/CMakeFiles/atm.dir/flags.make |
Temporarly tweak CPP defs for a component
...