-
Notifications
You must be signed in to change notification settings - Fork 555
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
Clean up w3profsmd pdlib #792
Clean up w3profsmd pdlib #792
Conversation
Mathieu/debug elimination
This reverts commit da80651.
@MathieuDutSik Can you merge the NOAA-EMC/WW3 develop branch into your branch here? |
! | ||
CALL SET_IOBPA_PDLIB | ||
|
||
CALL SET_IOBPA_PDLIB | ||
!/ | ||
!/ End of W3SPR4 ----------------------------------------------------- / |
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.
Should we go ahead and clean up the "end of W3SPR4" here as well?
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.
Actually your additions of the subroutine names in the "end" lines have pointed out that we have a lot of "End of XXXX" comments that do not match the subroutines in this file. Are you interested in cleaning this up now, or leaving this for later?
END IF | ||
WRITE(*,*) 'Error: You need to use with JGS_USE_JACOBI' | ||
STOP 'Correct your implicit solver options' | ||
!/ | ||
!/ End of W3XYPFSN --------------------------------------------------- / |
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.
Should these "End of W3XYPFSN" comments get cleaned up too? There are multiple.
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'll start running the regression tests.
! | ||
CALL SET_IOBPA_PDLIB | ||
|
||
CALL SET_IOBPA_PDLIB | ||
!/ | ||
!/ End of W3SPR4 ----------------------------------------------------- / |
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.
Actually your additions of the subroutine names in the "end" lines have pointed out that we have a lot of "End of XXXX" comments that do not match the subroutines in this file. Are you interested in cleaning this up now, or leaving this for later?
matrixCompFull.txt The output of diffs:
These are expected known not b4b + known mod_def for unstructured not reporducing + tp2.14 tests having some diffs that I've occasionally seen with orion/intel:
|
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.
Thanks @MathieuDutSik for the continued updates of debug print statements!
Pull Request Summary
Some cleaning of the w3profsmd_pdlib file that should not change any functionality.
Description
Some unused code has been cleaned. Plus a lot of debugging stuff that is not relevant is cleaned up.
Issue(s) addressed
There has been several complaints about code quality and this PR certainly makes it better.
Commit Message
Clean up w3profsmd pdlib
Check list
Testing
There should be no changes.
(will be added below).