Adding additional functionality namelists to ww3_outp. - #1629
EJRainville-NOAA wants to merge 90 commits into
Conversation
… in my ww3_sandbox
…ed to match the ww3_outp.inp files
…onditions nml pull request
…aps between the name TYPE with the fortran language
…es should be read in now
… compilation errors
…ts. Fixed outp nml file choice to output bulk wave parameters
…utp_inp2nml Merging new changes made to the develop branch.
This reverts commit b090f0f.
|
I would highly recommend to create a bash script to automatically convert .inp files to .nml for all the regtests and keep them all up-to-date when a modification is done in the inp or nml file. |
|
@mickaelaccensi Thanks for the suggestion! I agree that automating the conversion would be useful for keeping the .inp and .nml files synced across the regtests. For this PR, I’ve focused on just adding the nml functionality for the ww3_outp program. I’ll take a look at the existing scripts in WW3/model/tools/bash/ and add the conversion as a follow-up once this is in place. |
|
@EJRainville-NOAA The matrix tests on Ursa GNU fails. Multiple errors were reported in |
|
@mingchen-NOAA Thanks for reviewing this! I will look at your build.log file to see what the issue with the GNU compilers are and start to fix those issues. |
c84cd1b to
7db6b81
Compare
|
@EJRainville-NOAA I ran your branch using Ursa GNU matrix08 and was able to reproduce the error. I then ran the same test using the Based on the error message and some additional testing, the most likely cause appears to be an OpenMP race condition or thread-safety issue. I added I will continue investigating to identify which part of changes is causing the issue. |
|
Info: Failure diagnosis: An intermittent OpenMPI race condition or thread-safety issue was identified. Investigation update: Based on these results, the issue is most likely related to the changes in Suggest next steps: |
…d to thread safety issues. Addionally, removed unused variables that were added in w3_outp.F90.
6d2c5d5 to
ed32541
Compare
@mingchen-NOAA I reverted the changes made in w3iopomd.F90 and ran the test case again 10 times and all tests ran without errors. I also removed the unused variables in w3_outp.F90. All regression tests pass now with the GNU compilers and I haven't seen evidence of any thread safety issues. Thanks for the help in debugging that! |
Pull Request Summary
This PR adds additional functionality to the ww3_outp program to allow for input namelist files
Description
This PR addresses issue #619 and adds a new feature by adding the option to use a namelist file as an input to the ww3_outp program. The program ww3_outp.F90 was modified, an additional module file is added (w3nmloutpmd), and it new namelist files are added to the nml directory and to the ufs1.1 test case. Answer changes are not expected in this PR.
Issue(s) addressed
fixes #619
Commit Message
Added namelist input file functionality feature for the ww3_outp program.
Check list
Testing
How were these changes tested?
This PR is tested with the full regression test matrix on Orion.
Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
The changes are covered in the ufs1.1 work_unstr_a_nml test case that was fixed as a previous PR. No additional new tests are needed to be added to cover the changes in this update.
Have the matrix regression tests been run (if yes, please note HPC and compiler)?
Yes, the regression tests have been run on Orion with intel compilers.
Please indicate the expected changes in the regression test output, (Note the list of known non-identical tests.)
No changes are expected to output but additional nml logs are added when using the new nml feature following the structure of previous nml feature additions.
Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):
matrixDiff.txt
matrixCompFull.txt
matrixCompSummary.txt