-
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
auto-format fixes for develop #804
auto-format fixes for develop #804
Conversation
@MatthewMasarik-NOAA @JessicaMeixner-NOAA This is the first 5 files which need changes to allow the auto-format. Before I go any further, I wanted to make sure that these changes will be acceptable. The next batch would contain similar changes to w3snl4md, w3strkmd, w3tidemd, w3updtmd. |
@DeniseWorthen These changes would be acceptable. |
@JessicaMeixner-NOAA @MatthewMasarik-NOAA In I've attached the auto-formatted wmwavemd.F90 here (gzipped so I can attach). The issue appears starting at LN 1329, in the section of code "! 9.d Process unified point output for selected grid". The problem in the commented out section arises at LN 1373
This line is a problem because it cannot be enclosed by any matching "if-endif". LNS 1332-1372 appear correct---there is a matching Here is the relevant section.
|
@DeniseWorthen I've looked at this and don't have a quick answer but will continue to look into this to see if I can't figure this out. |
* verified all files can be auto-formatted w/o error
@DeniseWorthen thank you so much for this PR. I see no issues when reviewing the code and have started the standalone regression tests. Should get results back by tomorrow morning if not before. |
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 @DeniseWorthen and @mvertens for these fixes!
Expected diffs in WW3 standalone regression tests:
mww3_test_03/./work_PR1_MPI_e (1 files differ)
mww3_test_03/./work_PR2_UNO_MPI_d2 (16 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2 (15 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e (1 files differ)
mww3_test_03/./work_PR1_MPI_d2 (20 files differ)
mww3_test_03/./work_PR2_UQ_MPI_d2 (15 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e_c (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e_c (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2 (18 files differ)
mww3_test_03/./work_PR2_UNO_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c (17 files differ)
mww3_test_03/./work_PR2_UQ_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c (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_mb (1 files differ)
ww3_tp2.17/./work_b (1 files differ)
ww3_tp2.17/./work_mc (1 files differ)
ww3_tp2.17/./work_a (1 files differ)
ww3_tp2.17/./work_c (1 files differ)
ww3_tp2.17/./work_ma (1 files differ)
ww3_tp2.17/./work_mc1 (1 files differ)
ww3_tp2.17/./work_ma1 (1 files differ)
ww3_ufs1.3/./work_a (1 files differ)
Pull Request Summary
Updates required modules to allow auto-formatting to complete without error or other line change.
Description
do N ... N Continue
todo N ... end do
.W3_SHRD
andW3_MPI
end subroutine
andend module
The fixes are identified first by having emacs attempt to auto-indent. For this PR, the initial auto-format was carried out in batch mode using emacs
Failures are the reported as, for example
Each failure must then be found and resolved manually.
Issue(s) addressed
fixes #796
Commit Message
Fixes to allow auto-formatting
co-author @mvertens
Check list
Testing
src
,PDLIB
andSCRIP
subdirectories. A test branch then had the auto-formatting applied and the resultant PR include whitespace only changes.