-
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
Cleanup of outcommented code #815
Cleanup of outcommented code #815
Conversation
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 for the additional clean-up @MathieuDutSik! I've commented on a few parts of the code to double check everyone is okay with the removal of a few items. Hopefully we'll get feedback on that in the next day or so.
! This barrier is from older code versions. It has been removed in 3.11 | ||
! to optimize IO2/3 settings. May be needed on some systems still | ||
! | ||
!!/MPI IF (FLAG0) CALL MPI_BARRIER (MPI_COMM_WCMP,IERR_MPI) |
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.
Just wanted to draw attention to this line of code, just in case anyone has used this since 3.11 and there's any need to keep this around. Tagging a few others for awareness/thoughts: @ukmo-ccbunney @mickaelaccensi
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 don't use it
@@ -1358,16 +1348,6 @@ SUBROUTINE W3EXNC ( NX, NY, IX1, IXN, IY1, IYN, NSEA, & | |||
IF ( FLAGUNR ) CALL W3THRTN(NSEA, THP0, AnglD, .FALSE.) | |||
#endif | |||
CALL S2GRID(THP0, X1, .TRUE.) | |||
! IF( SMCGRD ) THEN |
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.
@ukmo-ccbunney are you okay with this cleanup? It looks related to SMCGRID so just wanted to double check.
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 for the additional clean-up work @MathieuDutSik !
**********************************************************************
********************* non-identical cases ****************************
**********************************************************************
mww3_test_03/./work_PR2_UNO_MPI_d2 (12 files differ)
mww3_test_03/./work_PR1_MPI_d2 (19 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c (17 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c (15 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2 (15 files differ)
mww3_test_03/./work_PR2_UQ_MPI_d2 (15 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2 (15 files differ)
ww3_ta1/./work_UPD0F_U (0 files differ)
ww3_tp2.10/./work_MPI_OMPH (7 files differ)
ww3_tp2.16/./work_MPI_OMPH (4 files differ)
ww3_tp2.17/./work_a (1 files differ)
ww3_tp2.17/./work_c (1 files differ)
ww3_tp2.17/./work_b (1 files differ)
ww3_tp2.6/./work_ST0 (1 files differ)
ww3_tp2.6/./work_ST4 (1 files differ)
ww3_tp2.6/./work_pdlib (1 files differ)
ww3_ufs1.3/./work_a (1 files differ)
Pull Request Summary
Several more cleanup of the code related to the old code.
Description
Some of the changes are related to PDLIB but some to other parts of the code.
Issue(s) addressed
The issues had been discussed extensively on GitHub/discussions and the conclusion was that we should cleanup as much as possible the code.
Commit Message
Check list
Testing