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

adding MPI dependency in CMakeLists.txt of mgbf and using Russ's gsi_… #833

Merged

Conversation

TingLei-daprediction
Copy link
Contributor

@TingLei-daprediction TingLei-daprediction commented Feb 3, 2025

Description
This PR is to fix the GSI GNU compiling broken on hera
Resolves #831

Added the correct specification of MPI dependency in cmake file for mgbf and added @RussTreadon-NOAA 's changes in gsi_hera.gnu.lua to make right modules loaded on hera.

Co-author : @RussTreadon-NOAA

<But now, I have no a "control" GSI without the above changes to run ctests on hera since the GSI would fail in building if there are no those changes.
@RussTreadon-NOAA, what are your recommendation for ctests problem for this PR.
(Now, I would keep this PR at "draft" mode") >
Update : Russ clarified (see his following comment) that the successful building of GSI using GNU is enough for this PR.

@RussTreadon-NOAA
Copy link
Contributor

@TingLei-NOAA , successfully building gsi.x and enkf.x on Hera using COMPILER=gnu is sufficient for this PR.

@TingLei-NOAA
Copy link
Contributor

@RussTreadon-NOAA Thanks for this clarificaiton!

@TingLei-daprediction TingLei-daprediction marked this pull request as ready for review February 3, 2025 17:21
Copy link
Contributor

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

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

Installed TingLei-daprediction:feature/mgbf4gnu at 0c1279c on Hera. Set COMPILER=gnu. Execute ush/build.sh. The gsi.x and enkf.x were successfully built.

Approve.

@RussTreadon-NOAA
Copy link
Contributor

@TingLei-daprediction , I will merge this PR into develop once I get an approval from another developer.

Copy link
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

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

Changes look good. I just have one suggestion.

modulefiles/gsi_hera.gnu.lua Outdated Show resolved Hide resolved
Copy link
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

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

Changes look good. Thanks @TingLei-daprediction @RussTreadon-NOAA! Approve.

Copy link
Contributor

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

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

Remove commented lines. Update working copy of TingLei-daprediction:feature/mgbf4gnu to 41f325f. Rerun ush/build.sh for COMPILER=gnu. gsi.x and enkf.x successfully built on Hera.

Approve.

@TingLei-daprediction
Copy link
Contributor Author

@RussTreadon-NOAA and @DavidHuber-NOAA Thanks a lot for your help!

@RussTreadon-NOAA RussTreadon-NOAA merged commit ef42dfe into NOAA-EMC:develop Feb 3, 2025
4 checks passed
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.

Hera gnu build broken
4 participants