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

Non-numeric character statement... #76

Open
AlexanderRichert-NOAA opened this issue Oct 8, 2024 · 0 comments
Open

Non-numeric character statement... #76

AlexanderRichert-NOAA opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AlexanderRichert-NOAA
Copy link

Description

Building with GCC 13 fails on the following files because of the 'D' specifier found in two places in each file:
rtma_minmaxtrh.fd/maxtbg.fd/maxmin_ak.f (lines 175 and 195)
rtma_minmaxtrh.fd/mintbg.fd/maxmin_ak.f (lines 175 and 195)

It seems this can be fixed by using gfortran's -fd-lines-as-code or -fd-lines-as-comments flags, depending on how you want to handle them.

Output

[ 75%] Building Fortran object rtma_minmaxtrh.fd/mintbg.fd/CMakeFiles/rrfs_mint.exe.dir/maxmin_ak.f.o
/dev/shm/rrfs_utl/rtma_minmaxtrh.fd/mintbg.fd/maxmin_ak.f:175:2:

  175 | D       WRITE(KFILDO,*) 'TRYING THE SIMPLE WAY'
      |  1
Error: Non-numeric character in statement label at (1)
@AlexanderRichert-NOAA AlexanderRichert-NOAA added the bug Something isn't working label Oct 8, 2024
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