Skip to content

Fix MET to compile using GCC version 10 #1552

@jprestop

Description

@jprestop

Describe the Task

As reported by a user via met-help (https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=97359) met-9.1 does not compile using the GCC version 10 compilers. The issue lies with the compilation of the required BUFRLIB library:
`ufbtab.f:306:31:

288 | DO WHILE(IREADMG(-LUNIT,SUBSET,IDATE).GE.0)
| 2
......
306 | 10 IF(IREADMG(-LUNIT,SUBSET,JDATE).LT.0) GOTO 25
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
ufbtab.f:534:37:

288 | DO WHILE(IREADMG(-LUNIT,SUBSET,IDATE).GE.0)
| 2
......
534 | DO WHILE(IREADMG(-LUNIT,SUBSET,JDATE).GE.0)
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
`
I want to try to reproduce the problem using GCC version 10 and let the developers of BUFRLIB know of the issue.

Time Estimate

1 day

Sub-Issues

Consider breaking the task down into sub-issues.

  • No sub-issues required. I expect this to only require a small number of changes.

Relevant Deadlines

None

Funding Source

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required - no scientist required

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Review projects and select relevant Repository and Organization ones or add "alert:NEED PROJECT ASSIGNMENT" label
  • Select milestone to next major version milestone or "Future Versions"

Define Related Issue(s)

Consider the impact to the other METplus components.

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s), Project(s), Milestone, and Linked issues
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions