Skip to content

Bug fix for gaea modulefiles.#407

Merged
MichaelLueken merged 4 commits into
ufs-community:developfrom
danielabdi-noaa:bugfix/gaea-modules
Oct 11, 2022
Merged

Bug fix for gaea modulefiles.#407
MichaelLueken merged 4 commits into
ufs-community:developfrom
danielabdi-noaa:bugfix/gaea-modules

Conversation

@danielabdi-noaa
Copy link
Copy Markdown
Collaborator

@danielabdi-noaa danielabdi-noaa commented Oct 7, 2022

DESCRIPTION OF CHANGES:

Bug fix for gaea modulefiles that broke during a recent update.

  • miniconda3 and rocoto should not be loaded in build_gaea_intel.
  • Do the same for noaacloud modulefiles

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

TESTS CONDUCTED:

Made build on gaea successfully. Needs workflow runs through jenkins though (only for gaea)

  • hera.intel
  • orion.intel
  • cheyenne.intel
  • cheyenne.gnu
  • gaea.intel
  • jet.intel
  • wcoss2.intel
  • NOAA Cloud (indicate which platform)
  • Jenkins
  • fundamental test suite
  • comprehensive tests (specify which if a subset was used)

DEPENDENCIES:

DOCUMENTATION:

None

ISSUE:

CHECKLIST

  • My code follows the style guidelines in the Contributor's Guide
  • I have performed a self-review of my own code using the Code Reviewer's Guide
  • I have commented my code, particularly in hard-to-understand areas
  • My changes need updates to the documentation. I have made corresponding changes to the documentation
  • My changes do not require updates to the documentation (explain).
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • Any dependent changes have been merged and published

LABELS (optional):

A Code Manager needs to add the following labels to this PR:

  • Work In Progress
  • bug
  • enhancement
  • documentation
  • release
  • high priority
  • run_ci
  • run_we2e_fundamental_tests
  • run_we2e_comprehensive_tests
  • Needs Cheyenne test
  • Needs Jet test
  • Needs Hera test
  • Needs Orion test
  • help wanted

CONTRIBUTORS (optional):

Copy link
Copy Markdown
Collaborator

@MichaelLueken MichaelLueken left a comment

Choose a reason for hiding this comment

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

I approve of these changes. Neither rocoto, alps, or miniconda are required to build the SRW and belong in the wflow_gaea modulefile, rather than the build_gaea_intel modulefile.

@MichaelLueken MichaelLueken added the run_we2e_coverage_tests Run the coverage set of SRW end-to-end tests label Oct 7, 2022
@chan-hoo chan-hoo mentioned this pull request Oct 7, 2022
23 tasks
@danielabdi-noaa
Copy link
Copy Markdown
Collaborator Author

Gaea seems to work again without this PR. But i still think rocoto/miniconda3 should not be loaded during build so i will leave this PR open.

@MichaelLueken
Copy link
Copy Markdown
Collaborator

@danielabdi-noaa I agree that only those libraries required for building should be in the build_gaea_intel modulefile. I'm fine with keeping this PR open and merging it in. However, the Gaea tests have failed on Jenkins.

@danielabdi-noaa
Copy link
Copy Markdown
Collaborator Author

@MichaelLueken Yes, i noticed and i believe that is because the miniconda3 version is not specified intasks/gaea/miniconda_regional_workflow. It encountered the same error as before when trying to run the first task.

Lmod has detected the following error: Infinite Load Loop detected for module:
"miniconda3/4.12.0" file:
"/lustre/f2/dev/wpo/role.epic/contrib/modulefiles/miniconda3/4.12.0.lua"
While processing the following module(s):
    Module fullname    Module Filename
    ---------------    ---------------
    miniconda3/4.12.0  /lustre/f2/dev/wpo/role.epic/contrib/modulefiles/miniconda3/4.12.0.lua

I have added the version number to it now and hopefully it works. If not, I don't want to disturb what is already working , although i think it can be improved in the future, and will close the PR.

@danielabdi-noaa danielabdi-noaa removed Priority: HIGH bug Something isn't working labels Oct 7, 2022
@MichaelLueken
Copy link
Copy Markdown
Collaborator

The Jenkins pipeline has successfully completed for Gaea. I will now merge this PR to the official repo.

@MichaelLueken MichaelLueken merged commit 28205cb into ufs-community:develop Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run_we2e_coverage_tests Run the coverage set of SRW end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants