-
Notifications
You must be signed in to change notification settings - Fork 132
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
Some small CESM updates. #812
Conversation
@dabail10 could you make one small change that I need also? I found I needed the nu_diag_set parameter to be available because it is used now in the cap code, even w/o cesmcoupled being active. The change is
|
Sounds good. |
Could this change adversely affect other codes? Is this parameter used in any other codes? |
@eclare108213 The nu_diag_set is only used by the cmeps NUOPC cap. It is false by default, so it shouldn't impact any other use case. However, if it is an issue, an alternative fix would be to wrap the code related to nu_diag_set in the cap with CESMCOUPLED. It's just a bit messier. |
The nu_diag_set implementation should be refactored at some point, it's quite awkward as it stands now. Why remove the comment about the OpenMP block that doesn't work in CESM? Does it work now, if so, should the ifdef _OPENMP be removed? We should have a comment there that indicates why that particular openmp loop is an ifdef block, don't you think? |
It does work in CESM now. I'm not sure about the ifdef. I guess it is redundant? Or actually, we don't want this section to print when OpenMP is not active correct? |
You're right, we do want the _OPENMP ifdef there. I guess I thought it was related to CESM without looking at it. I now remember that this was debugged and fixed a while ago, guess the comment should have been removed then. thanks. |
For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers
PR checklist
Removes a comment about the OMP initialization not working in CESM and adds back in some fixes for restarting in CESM.
dabail10 (D. Bailey)
https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#8afd0be23357b7160e1c9fb5a228c7a0b60c78e4