This repository was archived by the owner on Nov 18, 2026. It is now read-only.
Repository navigation
Properly link pnetcdf library - #23
Merged
Merged
Conversation
mmiesch
requested review from
byoung-joo,
jjguerrette,
mer-a-o,
shlyaeva and
ytremolet
July 3, 2021 01:02
ytremolet
approved these changes
Jul 4, 2021
ytremolet
left a comment
There was a problem hiding this comment.
Fixes the compilation and all tests pass for me. Thanks.
Collaborator
|
I will test this PR on Cheyenne now. |
Collaborator
|
This PR was built on Cheyenne. I just got many of ctest failed with |
|
@byoung-joo thank you for reporting that. Those error messages are a result of the PR I opened in ufo that got merged this morning. I will issue bugfix ASAP. |
byoung-joo
approved these changes
Jul 6, 2021
byoung-joo
left a comment
Collaborator
There was a problem hiding this comment.
I will merge this soon
Collaborator
|
Oh I don't have a permission to merge this. As JJ is out of town, we can wait a bit or someone who is authorized might want to merge this PR. |
Author
|
I can do it - thanks all for testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes #22 for me on my Mac.
I am not a CMake expert - there may be better ways to to this, but it works.
I am working on Mac Big Sure with a clang/gfortran/openmpi stack. I was able to reproduce the error in #22 and this fixed it for me. If others verify that this works then I will issue a corresponding PR to jedi-cmake next week. This may also need to be added to the C and CXX targets but this is sufficient for MPAS.
WIth this fix, mpas-bundle builds on my Mac and all mpas-jedi tests pass:
DESCRIPTION OF CHANGES:
This PR fixes the error linking with PnetCDF when it is built on the Mac machines.
LIST OF MODIFIED FILES:
M cmake/Modules/FindPnetCDF.cmake
ISSUE
Fixes #22
TESTS CONDUCTED:
WIth this fix, mpas-bundle builds on the Mac machines. No impact on Cheyenne build.