This issue came up when trying to run the MPACEB SCM case with SP-EAM flags. For this case, chem is set to none, so the chemistry/modal_aero source code directory is not added to the build, and the MODAL_AERO preprocessor flag is not defined. Thus, fields in crm_physics and crm_module related to modal aerosols are not defined, because ntot_amodes will not be defined. However, in physpkg, activation of modal aerosols affecting the climate is checked by counting nmodes in the rad_constituents interface:
This issue came up when trying to run the MPACEB SCM case with SP-EAM flags. For this case, chem is set to none, so the chemistry/modal_aero source code directory is not added to the build, and the MODAL_AERO preprocessor flag is not defined. Thus, fields in crm_physics and crm_module related to modal aerosols are not defined, because ntot_amodes will not be defined. However, in physpkg, activation of modal aerosols affecting the climate is checked by counting nmodes in the rad_constituents interface: