Skip to content

Release/public v2 jet bugfix#286

Merged
mark-a-potts merged 10 commits into
ufs-community:release/public-v2from
natalie-perlin:release/public-v2-jet-bugfix
Jun 1, 2022
Merged

Release/public v2 jet bugfix#286
mark-a-potts merged 10 commits into
ufs-community:release/public-v2from
natalie-perlin:release/public-v2-jet-bugfix

Conversation

@natalie-perlin
Copy link
Copy Markdown
Collaborator

@natalie-perlin natalie-perlin commented Jun 1, 2022

DESCRIPTION OF CHANGES:

  1. Fixed the issue on running SRW on Jet: loading a specific version of miniconda3/4.5.12 from /contrib/., which was used to create a conda environment "regional_workflow". Prepending the path of /contrib/miniconda3/modulefiles to the $MODULEPATH and having it before the modulefiles hpc-stack directory did not solve the issue (see item 2. below, an earlier attempt)

  2. Earlier attempt to solve: load the miniconda3 from the /contrib/ modulefiles, not the module built with the HPC-stack. Use of "module load -a /contrib/miniconda3/modulefiles/ " caused the module path to be appended to the search PATH, and the module path for the hpc-stack takes precedence when loading miniconda3.

It did not help to solve the problem, because the miniconda3 in hpc-stack was labeled as a "default" module, regardless of the order in the MODULEPATH. Directory /lfs4/HFIP/hfv3gfs/nwprod/hpc-stack/libs/modulefiles/core/miniconda3/ on Jet contains the following files:

4.6.14.lua
default -> 4.6.14.lua

TESTS CONDUCTED:

Making this PR to test if the issue with running SRW tests on Jet could be solved with fixing the correct miniconda3 module loaded, which needs to be the same module used to create the environment 'regional_workflow'.
Tests through Jenkins were successful:
Jenkins-build-srw-jet-intel

Jenkins-srw-e2e-tests

ISSUE (optional):

There were problems with running SRW tests on Jet after the recent HPC-stack update, with miniconda3 module becoming available in the hpc-stack build, as well as in /contrib/miniconda3/modulefiles.

CONTRIBUTORS:

@mark-a-potts , @BruceKropp-Raytheon

Natalie Perlin and others added 9 commits May 19, 2022 09:19
The slash in branch names such as release/.* and feature/.* is
interpreted as a directory separator. This change replaces the "/"
character with a "_".
Modulefiles load software libraries and activate python virtual environment
Release/public v2 UFS-COMMUNITY SRW repo - current
Module load miniconda3 from /contrib/...
Prepend module path /contrib/miniconda3/modulefiles/ to the PATH (not _append_)
Copy link
Copy Markdown
Collaborator

@JeffBeck-NOAA JeffBeck-NOAA left a comment

Choose a reason for hiding this comment

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

@natalie-perlin, do you mind opening this same PR into the develop branch as well? Thanks!

Adding a specific version of miniconda3/4.5.12 to be loaded, to avoid ambiguities with several available via /contrib/ and /hpc-stack/
@mark-a-potts mark-a-potts merged commit 6a21e8f into ufs-community:release/public-v2 Jun 1, 2022
@natalie-perlin natalie-perlin deleted the release/public-v2-jet-bugfix branch December 1, 2022 17:10
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.

5 participants