-
Notifications
You must be signed in to change notification settings - Fork 553
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
w3iors NSEAL vs NSEA in non-MPI portions of read/write #940
Comments
This does sound like a good thing to investigate. Good find @JessicaMeixner-NOAA |
All regression tests except the usual passed. Next step is running a restart case for non-mpi with the develop and this branch and see how that goes. |
So - my opinion on this is that it aught to be changed to Using Assuming that changing it does not impact the results (I can't see why), then I advocate defensive programming and changing it to NSEA. There might be other places in the code where this assumption on NSEAL being defined is also made... |
@ukmo-ccbunney okay -- I will proceed with this code-fix. Should have a PR up soon... that's a good question about other places in the code about the assumption on NSEAL. Should we make a new issue for that? |
I find @ukmo-ccbunney suggestion compelling. |
Perhaps not a bad idea so it is logged and someone can then put some time aside to look through the code. |
I'm running regression tests now. |
New issue: #956 for general case |
Describe the bug
Not 100% sure this is a bug, but this should be investigated. While working on #829
I found that in the non-MPI sections of the read/write of the restart we are using:
DO JSEA=1, NSEAL
In the following lines of code:
https://github.com/NOAA-EMC/WW3/blob/develop/model/src/w3iorsmd.F90#L631
and
https://github.com/NOAA-EMC/WW3/blob/develop/model/src/w3iorsmd.F90#L788
In standalone mode, perhaps we've already defined NSEAL=NSEA and this is fine, but I found I had to set NSEAL=NSEA when trying to read/write this from ww3_gint.
To test if this is a bug or not, my plan is to:
The text was updated successfully, but these errors were encountered: