Add check to reduce CESM log output for imp_sol
Issue Type
Code Clean-up
Issue Description
Per a post in the CESM forum - https://bb.cgd.ucar.edu/cesm/threads/size-of-cesm-log-file-grows-to-several-gbs.11449/
the imp_sol convergence messages are being printed for every task. Checks for masterproc should be added to avoid this (and thus all messages will be printed to only the atm log)
@fvitt - is this something you might be able to include in an upcoming PR?
Will this change answers?
No
Will you be implementing this yourself?
Any CAM SE can do this
Thanks for opening the issue @peverwhee! I agree that the convergence messages should be limited. My understanding is that they might be indicative of some local problem with the species concentrations so I was wondering if there is a way to not restrict this for masterproc since then the errors are just being suppressed for the grid boxes not covered by masterproc. Perhaps the messages could be throttled or collapsed, e.g., max one print out per timestep per core and just give a count of # of grid boxes that failed to converge?
@jimmielin good point! I suppose this is more complicated than I originally thought.