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

CI update to shell environment with HOMEgfs to HOME_GFS for systems that need the path #3013

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

TerrenceMcGuinness-NOAA
Copy link
Collaborator

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA commented Oct 17, 2024

Description

This PR is setting a shell environment variable HOME_GFS to point to the path HOMEgfs for systems that need to setup the runtime environment in their respective .bashrc files.

For example:

# Added for Global Workflow
if [ -n "${HOME_GFS}"]; then
    export MODULE_GWSETUP_PATH="${HOME_GFS}/modulefiles"
    module use "${MODULE_GWSETUP_PATH}"
    module load "module_gwsetup.gaea"
fi

Type of change

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

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? NO

How has this been tested?

This PR itself will be ran on Gaea directly when $HOMEgfs/workflow/gw_setup.sh script for loading the runtime modules is operable on that system.

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • I have made corresponding changes to the system documentation if necessary

… in their .bashrc file for sourcing runtime env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Issue related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants