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

Always remove duplicates from NetCDF_LIBRARIES list, not just for shared libraries #68

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Aug 23, 2023

Description

Alternative approach to solve the problem described in #66, but which had to be reverted because it broke the builds for others.

I don't know what the reason for not removing duplicates for static libraries is, but maybe @DJDavies2 and @drnimbusrain can give this a try?

@DJDavies2
Copy link
Contributor

I tested this and seems to work for me in the sense that there are no duplicates any more.

@climbfuji
Copy link
Collaborator Author

@drnimbusrain Would you be able to test this PR? Thanks very much in advance!

@climbfuji
Copy link
Collaborator Author

I tested this and seems to work for me in the sense that there are no duplicates any more.

Thanks, @DJDavies2 !

@climbfuji climbfuji changed the title DRAFT/for testing: Always remove duplicates from NetCDF_LIBRARIES list, not just for shared libraries Always remove duplicates from NetCDF_LIBRARIES list, not just for shared libraries Sep 6, 2023
@climbfuji climbfuji marked this pull request as ready for review September 6, 2023 18:45
@climbfuji climbfuji self-assigned this Sep 6, 2023
@climbfuji
Copy link
Collaborator Author

@drnimbusrain I would like to proceed with this PR. Do you think you can take a minute to test it as well? It works for our UK Met Office colleagues. Thanks!

Copy link
Collaborator

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense.

@drnimbusrain
Copy link

drnimbusrain commented Sep 6, 2023 via email

@drnimbusrain
Copy link

@climbfuji I have tested your branch and it works successfully on NOAA's RDHPCS/Hera and WCOSS2 machines, e.g.,

  • Setting build type to 'Release'.
    -- Found NetCDF: /scratch1/NCEPDEV/nems/role.epic/hpc-stack/libs/intel-2022.1.2/intel-2022.1.2/impi-2022.1.2/netcdf/4.7.4/include (found version "4.7.4") found components: C Fortran

Thank you!!

@climbfuji
Copy link
Collaborator Author

Yay, thanks for testing @drnimbusrain.

@aerorahul please merge whenever you want. Thanks very much!

@climbfuji climbfuji merged commit 607d9b4 into NOAA-EMC:develop Sep 11, 2023
@climbfuji climbfuji deleted the feature/netcdf_libraries_always_remove_duplicates branch September 11, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants