-
Notifications
You must be signed in to change notification settings - Fork 383
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 machine file on theta #3162
Conversation
@@ -207,6 +207,11 @@ subroutine tridag_solve & | |||
|
|||
use clubb_precision, only: & | |||
core_rknd ! Variable(s) | |||
#ifndef NDEBUG |
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.
You don't have to fix this but noting that double negative logic is not good form.
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.
I agree. Assuming DEBUG
is not defined, we can add the following on top of the code to define it and then use DEBUG
in the logic instead of NDEBUG
:
#define DEBUG
#ifdef NDEBUG
#undef DEBUG
#endif
I have not tested the above, so I am not sure if it will work. But, like @rljacob mentioned, you don't have to fix it.
3b13d78
to
5643fdf
Compare
Update machine file on theta. Also, turn off a div-by-zero check for debug+knl+intel runs. Fixes #3098 [BFB]
Update machine file on theta Also, turn off a div-by-zero check for debug+knl+intel runs. Fixes #3098 [BFB]
Update machine file on theta Also, turn off a div-by-zero check for debug+knl+intel runs. Fixes E3SM-Project/E3SM#3098 [BFB]
Also, turn off a div-by-zero check for debug+knl+intel runs.
Fixes #3098
[BFB]