-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update value for checks%range #345
Conversation
@abhaasgoyal we forgot to update this namelist file with the changes to check the range. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ccarouge @abhaasgoyal This change looks okay ... BUT ...
I'm not sure about previous change - we've switched from a TRUE/FALSE LOGICAL kind for check%ranges
to an integer but there's still a few instances in the code of IF(check%range)THEN
I can see that working for check%range=0,1
but not for 2
- at least with some compilers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@har917 The main branch does not currently compile with GNU compiler anyway for other reasons (the abort() function for example accepts a string argument with Intel but not GNU...). But I agree we should change the IF statements as we don't want to go further from compatibility with GNU than we currently are. It's just going to be tricky to see all of these without being able to compile. I'll add that change and update the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit: Apologies since already approved, but there was a small change which if done would be good. There are some check%ranges=.TRUE.
in the documentation, which can also be changed (in pft_params_nml.md
, and meteorological_forcings.md
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CABLE
Thank you for submitting a pull request to the CABLE Project.
Description
Fixes #344. Update the namelist provided with the code for the changes to check%range and other fixes for compatibility with GNU compiler.
Type of change
Please delete options that are not relevant.
Checklist
I have compiled the code and run the Tumbarumba test case with the updated namelist. The test case finished:
Please add a reviewer when ready for review.
📚 Documentation preview 📚: https://cable--345.org.readthedocs.build/en/345/