Skip to content
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

Merged
merged 2 commits into from
Sep 6, 2019
Merged

Update machine file on theta #3162

merged 2 commits into from
Sep 6, 2019

Conversation

amametjanov
Copy link
Member

Also, turn off a div-by-zero check for debug+knl+intel runs.

Fixes #3098

[BFB]

@@ -207,6 +207,11 @@ subroutine tridag_solve &

use clubb_precision, only: &
core_rknd ! Variable(s)
#ifndef NDEBUG
Copy link
Member

@rljacob rljacob Aug 28, 2019

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.

Copy link
Contributor

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.

@amametjanov amametjanov force-pushed the azamat/theta/rm-div0-ck branch from 3b13d78 to 5643fdf Compare August 30, 2019 17:18
amametjanov added a commit that referenced this pull request Aug 30, 2019
Update machine file on theta.
Also, turn off a div-by-zero check for debug+knl+intel runs.

Fixes #3098

[BFB]
amametjanov added a commit that referenced this pull request Sep 6, 2019
Update machine file on theta
Also, turn off a div-by-zero check for debug+knl+intel runs.

Fixes #3098

[BFB]
@amametjanov amametjanov merged commit 5643fdf into master Sep 6, 2019
@amametjanov amametjanov deleted the azamat/theta/rm-div0-ck branch September 6, 2019 18:02
jgfouca pushed a commit to ESMCI/cime that referenced this pull request Oct 25, 2019
Update machine file on theta
Also, turn off a div-by-zero check for debug+knl+intel runs.

Fixes E3SM-Project/E3SM#3098

[BFB]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Floating divide by zero with SMS_D_Ln5.ne4_ne4.FC5AV1C-L.theta_intel
4 participants