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

Resolve bug with LMOD_TMOD_FIND_FIRST setting affecting build on WCOSS2 #3229

Merged

Conversation

KateFriedman-NOAA
Copy link
Member

Description

This PR temporarily comments out the LMOD_TMOD_FIND_FIRST=yes setting in ush/module-setup.sh. Have moved it to ush/load_ufsda_modules.sh for runtime usage for now. Left note to undo these changes when WCOSS2 is using spack-stack.

Also found and corrected a spelling mistake.

Resolves #3225

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

Build and runtime script updates.

How has this been tested?

Ran CI tests on WCOSS2-Cactus.

Temporarily comment out LMOD_TMOD_FIND_FIRST=yes in
module-setup.sh. Move it to ush/load_ufsda_modules.sh
for runtime usage. Left note to undo these changes
when WCOSS2 is using spack-stack.

Refs NOAA-EMC#3225
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.

Looks good to me.

Copy link
Contributor

@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.

Looks good, thanks @KateFriedman-NOAA!

Copy link
Contributor

@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.

LGTM

@aerorahul
Copy link
Contributor

Wondering if the LD_LIBRARY_PATH business can also be done in load_ufsda_modules.sh in an wcoss if-block to isolate non-spack built executables from it.
Thoughts?

@RussTreadon-NOAA
Copy link
Contributor

Wondering if the LD_LIBRARY_PATH business can also be done in load_ufsda_modules.sh in an wcoss if-block to isolate non-spack built executables from it. Thoughts?

This is a good idea. Need to test to confirm that it works as intended.

@KateFriedman-NOAA
Copy link
Member Author

Thanks all! In the interest of getting this fix in, I will now merge this. Please consider making the additional LD_LIBRARY_PATH updates in a follow-up PR. Thanks!

@KateFriedman-NOAA KateFriedman-NOAA merged commit 827cf39 into NOAA-EMC:develop Jan 15, 2025
5 checks passed
@KateFriedman-NOAA KateFriedman-NOAA deleted the bugfix/wcoss2_build branch January 15, 2025 18:24
KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request Jan 15, 2025
…kf_sfc_update_com_in_out

* upstream/develop:
  Resolve bug with LMOD_TMOD_FIND_FIRST setting affecting build on WCOSS2 (NOAA-EMC#3229)
  Reinstate product groups (NOAA-EMC#3208)
  Additional fixes for downstream jobs (NOAA-EMC#3187)
  Turn IAU off during staging job for cold start experiments (NOAA-EMC#3215)
  Update the gdas.cd hash and enable GDASApp to run on WCOSS2 (NOAA-EMC#3220)
  Update upload-artifact to v4 (NOAA-EMC#3216)
  Prevent duplicate case generation in generate_workflows.sh (NOAA-EMC#3217)
  Update g-w to cycle with C1152 ATM (NOAA-EMC#3206)
KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request Jan 15, 2025
…kf_sfc_update_com_in_out

* upstream/develop:
  Resolve bug with LMOD_TMOD_FIND_FIRST setting affecting build on WCOSS2 (NOAA-EMC#3229)
  Reinstate product groups (NOAA-EMC#3208)
  Additional fixes for downstream jobs (NOAA-EMC#3187)
  Turn IAU off during staging job for cold start experiments (NOAA-EMC#3215)
  Update the gdas.cd hash and enable GDASApp to run on WCOSS2 (NOAA-EMC#3220)
  Update upload-artifact to v4 (NOAA-EMC#3216)
  Prevent duplicate case generation in generate_workflows.sh (NOAA-EMC#3217)
  Update g-w to cycle with C1152 ATM (NOAA-EMC#3206)
KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request Jan 15, 2025
…kf_sfc_update_com_in_out

* upstream/develop:
  Resolve bug with LMOD_TMOD_FIND_FIRST setting affecting build on WCOSS2 (NOAA-EMC#3229)
  Reinstate product groups (NOAA-EMC#3208)
  Additional fixes for downstream jobs (NOAA-EMC#3187)
  Turn IAU off during staging job for cold start experiments (NOAA-EMC#3215)
  Update the gdas.cd hash and enable GDASApp to run on WCOSS2 (NOAA-EMC#3220)
  Update upload-artifact to v4 (NOAA-EMC#3216)
  Prevent duplicate case generation in generate_workflows.sh (NOAA-EMC#3217)
  Update g-w to cycle with C1152 ATM (NOAA-EMC#3206)
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.

Builds failing on WCOSS2 after LMOD_TMOD_FIND_FIRST setting added
4 participants