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

Make CICE4 built as a shared library #322

Merged
merged 4 commits into from
Jun 5, 2023

Conversation

zhaobin74
Copy link
Contributor

@zhaobin74 zhaobin74 commented Apr 14, 2023

This PR changed static build of CICE4 into a shared library (dso). This is done to prepare for upcoming CICE6 integration. CICE4 and CICE6 share many names which makes it unfeasible to build both into statically linked objects (name conflicts will occur). This issue is similar to MOM5/MOM6 build in GEOS.

Tests have been done with static and dso CICE4 build and both AMIP and coupled have zero-diff results.

@zhaobin74 zhaobin74 requested a review from a team April 14, 2023 14:11
@zhaobin74 zhaobin74 requested review from a team as code owners April 14, 2023 14:11
@github-actions
Copy link

Label error. Requires at least 1 of: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled. Found:

@zhaobin74 zhaobin74 added 0 diff The changes in this pull request have verified to be zero-diff with the target branch. 0-diff uncoupled 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) labels Apr 14, 2023
sanAkel
sanAkel previously approved these changes Apr 14, 2023
@mathomp4
Copy link
Member

@sdrabenh I updated the CHANGELOG here to reflect the 1.9.0 release so that when this gets in, it'll look complete.

Copy link
Collaborator

@sanAkel sanAkel left a comment

Choose a reason for hiding this comment

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

Works for @zhaobin74 and @mathomp4 -- great!

@sdrabenh sdrabenh merged commit 6958ea3 into main Jun 5, 2023
@sdrabenh sdrabenh deleted the feature/zhaobin74/cice4-as-shared-obj branch June 5, 2023 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-diff uncoupled 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) 0 diff The changes in this pull request have verified to be zero-diff with the target branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants