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

Resolve the HAFS v1.0 compile warnings #234

Open
BinLiu-NOAA opened this issue Nov 30, 2023 · 3 comments
Open

Resolve the HAFS v1.0 compile warnings #234

BinLiu-NOAA opened this issue Nov 30, 2023 · 3 comments
Assignees
Labels
Bugzilla Operational HAFS bugzilla items enhancement New feature or request

Comments

@BinLiu-NOAA
Copy link
Collaborator

Description

Provide a clear and concise description of the requested feature/capability.
From NCO SPA:
There are numerous compilation warnings in the HAFS v1.0 builds, shown as below for some samples. Please ensure that these can be compiled cleanly in the next upgrade.

All compilation warning are listed in /lfs/h1/ops/para/packages/hafs.v1.0.3/sorc/logs/warning.list file and here the statists from each sorc builds -

build_forecast.log 363
build_gsi.log 17
build_hycom_utils.log 9
build_post.log 2
build_tools.log 1
build_tracker.log 3
build_utils.log 4
build_ww3_utils.log 0
total 399

Proposed solution

How should the new feature/capability be added? If you have thoughts on the implementation strategy, please share them here.

Status (optional)

Do you (or a colleague) plan to work on adding this feature?

Related to (optional)

Directly reference any related issues or PRs in this or other repositories, and describe how they are related. Examples:

  • fixed by hafs-community/hafs/pull/<pr_number>
  • dependent upon ufs-community/ufs-weather-model/pull/<pr_number>
  • associated with noaa-emc/upp/pull/<pr_number>
  • related to hafs-community/GSI/issues/<issue_number>
@BinLiu-NOAA BinLiu-NOAA added enhancement New feature or request Bugzilla Operational HAFS bugzilla items labels Nov 30, 2023
@BijuThomas-NOAA
Copy link
Contributor

BijuThomas-NOAA commented Jan 11, 2024

build_forecast.log (741)

  • A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value
  • Global name too long, shortened from:(ccpp)

build_post.log(3)

  • Some OpenMP processing was skipped to constrain compile time. Consider overriding limits (-qoverride-limits)

build_tracker.log(1)

  • gettrk_main.f.o: requires executable stack (because the .note.GNU-stack section is executable)

build_utils.log(4)

  • function "insertIntersect" declared implicitly

build_tools.log(1)

  • fson_path_m.f90.o: requires executable stack (because the .note.GNU-stack section is executable

build_gsi.log(17)

  • CMake Warning at regression/CMakeLists.txt
  • A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value

build_hycom_utils.log(0)

build_ww3_utils.log(0)

@BinLiu-NOAA
Copy link
Collaborator Author

With the great collaborative work and support from the ufs-weather-model and its subcomponents developers, together with the EMC hurricane, wave, post, and data assimilation groups' effort, the build warnings have been significantly reduced (almost eliminated) for the latest HAFSv2 package. The total number of build warnings is reduced from 399 (HAFSv1) to 34 (HAFSv2). Besides, most of the remaining build warning are related to this item of "libjasper.so, may conflict with libjpeg.so.9", which cannot be addressed from the HAFS developers' end.

Here are the left over build warning items for the entire HAFSv2 package:

  • build_forecast.log: 4
    • 2 on libjasper.so, may conflict with libjpeg.so.9
    • 2 on /tmp/ifort3Jumqm.i90: warning #6178: The return value of this FUNCTION has not been defined. [MY_POINTER]
  • build_gsi.log: 0
  • build_hycom_utils.log: 1
    • on libjasper.so, may conflict with libjpeg.so.9
  • build_post.log: 1
    • on libjasper.so, may conflict with libjpeg.so.9
  • build_tools.log: 0
  • build_tracker.log: 4
    • on libjasper.so, may conflict with libjpeg.so.9
  • build_utils.log: 3
    • on libjasper.so, may conflict with libjpeg.so.9
  • build_ww3_utils.log 21
    • on libjasper.so, may conflict with libjpeg.so.9
  • total: 34

@BinLiu-NOAA
Copy link
Collaborator Author

Related issue and PRs to address the ufs-weather-model build warnings can be seen from ufs-community/ufs-weather-model/issues/1984 and ufs-community/ufs-weather-model/pull/2218.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Operational HAFS bugzilla items enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants