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

Makefile updates to fix parallel build failures #4948

Merged
merged 2 commits into from
Jun 1, 2022
Merged

Makefile updates to fix parallel build failures #4948

merged 2 commits into from
Jun 1, 2022

Conversation

brian-oneill
Copy link
Contributor

@brian-oneill brian-oneill commented May 13, 2022

Update object file dependency definitions in src/mode_init/Makefile and src/shared/Makefile to resolve build errors that occur when building ocean_model with multiple jobs (i.e. 'make -j').

Confirmed successful parallel build from scratch on Summit, Cori, and Chrysalis. No edits to code execution.

[BFB]

Update object file dependency definitions in src/mode_init/Makefile and src/shared/Makefile to
resolve build errors that occur when building ocean_model with multiple jobs (i.e. 'make -j')
@philipwjones philipwjones added mpas-ocean BFB PR leaves answers BFB labels May 13, 2022
@jonbob jonbob requested a review from philipwjones May 17, 2022 14:37
Copy link
Contributor

@philipwjones philipwjones left a comment

Choose a reason for hiding this comment

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

@brian-oneill - Thanks for updating these. While testing, I ran into another dependency so I grep'd on "use ocn_" in the src/shared directory and updated the Makefile there with all of the use-based dependencies. With that version, everything worked fine. I pushed that onto my fork of E3SM in a branch of the same name (philipwjones:brian-oneill/ocean/makefile-updates ) so you can either just copy that version of the shared Makefile, merge my version into yours or however you want to do it. Then this should be good to go.

@brian-oneill
Copy link
Contributor Author

@philipwjones committed new changes to match your fork. Thanks for more thoroughly going through the dependencies.

Copy link
Contributor

@philipwjones philipwjones left a comment

Choose a reason for hiding this comment

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

Great, thanks @brian-oneill Approved based on quick QU240 tests and successful parallel builds across supported machines.

jonbob added a commit that referenced this pull request May 27, 2022
Makefile updates to fix parallel build failures

Update object file dependency definitions in src/mode_init/Makefile and
src/shared/Makefile to resolve build errors that occur when building
ocean_model with multiple jobs (i.e. 'make -j').

Only used by the standalone model, so no impact on E3SM

[BFB]
@jonbob
Copy link
Contributor

jonbob commented May 27, 2022

Passes sanity testing, merged to next

@jonbob jonbob merged commit 6984118 into E3SM-Project:master Jun 1, 2022
@jonbob
Copy link
Contributor

jonbob commented Jun 1, 2022

merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB mpas-ocean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants