Skip to content
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

Remove compiler warnings #1204

Open
JessicaMeixner-NOAA opened this issue Mar 13, 2024 · 1 comment
Open

Remove compiler warnings #1204

JessicaMeixner-NOAA opened this issue Mar 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JessicaMeixner-NOAA
Copy link
Collaborator

Describe the bug
For a few regression tests, depending on the switch we have a compiler warning:

ww3_tp1.8/work_BJ_PR3_UQ/build.log:215:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]
ww3_tp1.8/work_PR3_UQ/build.log:217:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]
ww3_tp2.19/work_1A_a/build.log:211:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]
ww3_tp2.19/work_1A_a/build.log:990:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]
ww3_tp2.19/work_1C_a/build.log:208:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]
ww3_tp2.19/work_1C_a/build.log:978:/scratch1/NCEPDEV/climate/Jessica.Meixner/PR_WW3/pr1201/model/src/w3wavemd.F90(1589): warning #6371: A jump into a block from outside the block may have occurred.   [370]

These all appear to be related and with a particular GO TO statement in the code.

The tp2.19 switch file is:
PDLIB METIS NOGRB DIST MPI PR3 UQ FLX0 LN0 ST0 NL0 BT0 DB1 TR1 BS0 IC0 IS0 REF0 WNT1 WNX1 CRT1 CRX1 SEC1 O0 O1 O2 O3 O4 O5 O6 O7

And the tp1.8 switch file is:
NOGRB SHRD PR3 UQ FLX0 LN1 ST4 NL0 BT1 DB0 MLIM TR0 BS0 IC0 IS0 REF0 WNT1 WNX1 CRT1 CRX1 SEC1 O0 O1 O2 O3 O4 O5 O6 O7 O10 O11

To Reproduce
Run all the regression tests, and then grep the build.log files for warning.

Expected behavior
Ideally, we should have no compiler warnings when building.

Screenshots
n/a

Additional context
I believe the SEC1 is the unique item here from other regression tests.

@JessicaMeixner-NOAA JessicaMeixner-NOAA added the bug Something isn't working label Mar 13, 2024
@JessicaMeixner-NOAA
Copy link
Collaborator Author

This is related to: #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant