-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-chem none (prescribed bulk aero) broken on cam_dev #626
Comments
I'm trying to get a handle on all outstanding cam_dev issues. I believe this is the only one not associated with the CAM6.5 milestone. I'm wondering if it should be so that all cam_dev issues are grouped together. A 6.5 milestone is to introduce more cam_dev tests, so to the extent we envision a |
@adamrher - Is this still an issue? |
I finally got around to looking at this issue since I've become interested in the -chem none option, which I still don't entirely understand. From what I can tell it is not doing any chemistry, but is running some form of the bulk aerosol model that provides radiatively active constituents, of which are not advected by the dycore. Importantly, it returns false this logical in
When Wrapping the |
What happened?
Running with
-phys cam_dev -chem none
re-breaks (#261) prescribed bulk aerosols. The model is trying to use placeholder indices to access buffer vars that are not there...While the tracer/chem code is not my "bag," this appears to be because the reg and init aren't called for modal_aero_calcsize when
chem -none
sets the modal flag in physpkg to false and then tphysbc tries to initialize aerosols by running the wet dep routines.So a potential fix might be to have an if statement that calls a different aero init routine within the above block. Just commenting those two lines out as a test resulted in a crash just downstream (NaNs in CLUBB), so something needs to be init, but hopefully someone else knows off the top of their head rather than my feeble brain trying to figure it out.
What are the steps to reproduce the bug?
Build a vanilla F compset after adding
-phys cam_dev -chem none
to the build flags.What CAM tag were you using?
cam6_3_064
What machine were you running CAM on?
CISL machine (e.g. cheyenne)
What compiler were you using?
Intel
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
No
Extra info
No response
The text was updated successfully, but these errors were encountered: