You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In GEOS-Chem Classic 12.6.3, turning off dry deposition results in a segmentation fault when running the standard simulation. It fails during diagnostics write with this meesage:
I only have state_met and speciesconc diagnostics turned on. I'll probably find a fix pretty quickly since I get more info with debug flags on. Stay tuned.
The issue is our restart variable Chem_DryDepNitrogen which is now in HISTORY.rc. Since it contains the substring 'DryDep', and there is a search for substring 'DryDep' in the diagnostic list as criteria to register dry deposition diagnostics, the dry deposition diagnostics are allocated when they should not be. This would be fine (no error) except that the 3rd dimension size is nDryDep which is 0 if dry deposition is off.
I'm going to look into our usage of subroutine check_diaglist to see if we really need it to look for a substring anywhere in the diagnostic name, which is its behavior now. If yes, I'll add an optional argument for requiring that the starts match, similar to the existing optional argument for exact match. Otherwise, I will update it to always require that the starts of the strings match. Returning true if the substring is found anywhere in the diagnostic name is dangerous.
In GEOS-Chem Classic 12.6.3, turning off dry deposition results in a segmentation fault when running the standard simulation. It fails during diagnostics write with this meesage:
I am investigating the problem. It may be in versions prior to 12.6.3 as well.
The text was updated successfully, but these errors were encountered: