Move to contrib spack-stack on Jet#978
Conversation
|
@GeorgeGayno-NOAA Can you review this so that we move it forward? The PR on global workflow depends on this. |
|
I think your branch in behind the 'develop' branch. Please merge in the latest updates. |
Done |
|
To get the |
|
@GeorgeGayno-NOAA thanks for catching that. While we are at it, what are all the consistencies tests to run? Are there regression tests that can catch problems in most components of UFS_UTILS? I need to do another round of checks/modification. |
The consistency/regression tests are in ./reg_tests. Most tests have a 'jet' driver script. Other tests have a single script that works for all machines. For instructions on how to run, see each scripts prolog. I am running the tests now. I recommend you run them as well. Let me know if you have questions. |
…OAA/UFS_UTILS into migration-jet-contrib
|
@GeorgeGayno-NOAA , when you get the chance, have another look at the changes. |
| @@ -47,7 +47,7 @@ pwd=$(pwd -P) | |||
| if [ $machine = "hera" ]; then | |||
| FIX_DIR="/scratch1/NCEPDEV/global/glopara/fix" | |||
| elif [ $machine = "jet" ]; then | |||
There was a problem hiding this comment.
The Jet directory does not exist.
| FIX_ORO_INPUT=/lfs/h2/emc/global/noscrub/emc.global/FIX/fix/orog/20230615 | ||
| elif [ "$machine" = 'jet' ] ; then | ||
| FIX_ORO_INPUT=/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/orog/20230615 | ||
| FIX_ORO_INPUT=/lfs5/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/orog/20230615 |
There was a problem hiding this comment.
Same issue here. This directory does not exist.
There was a problem hiding this comment.
This should be /lfs5/HFIP/hfv3gfs/glopara/FIX/fix/orog/20230615.
| export HOMEufs=$PWD/../.. | ||
|
|
||
| export HOMEreg=/lfs4/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/chgres_cube | ||
| export HOMEreg=/lfs5/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/chgres_cube |
There was a problem hiding this comment.
This directory does not exist yet (I am creating them now). Did you run the consistency tests?
| export MOM6_FIXDIR=/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/mom6/20220805 | ||
| BASELINE_ROOT=/lfs4/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/cpld_gridgen/baseline_data | ||
| STMP=${STMP:-/lfs5/HFIP/h-nems/$USER} | ||
| export MOM6_FIXDIR=/lfs5/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/mom6/20220805 |
There was a problem hiding this comment.
MOM6_FIXDIR should be /lfs5/HFIP/hfv3gfs/glopara/FIX/fix/mom6/20220805
| export COPYGB=/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-hrqavdi/bin/copygb | ||
| export COPYGB2=/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-hrqavdi/bin/copygb2 | ||
| export CNVGRIB=/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-hrqavdi/bin/cnvgrib | ||
| export COPYGB=/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-74mdurc/bin/copygb |
There was a problem hiding this comment.
You can remove the export of COPYGB, COPYGB2 and CNVGRIB if you add module load grib-util/1.3.0 near the top of the script.
| FIX_DIR="/scratch1/NCEPDEV/global/glopara/fix" | ||
| elif [ $machine = "jet" ]; then | ||
| FIX_DIR="/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix" | ||
| FIX_DIR="/lfs5/HFIP/hfv3gfs/glopara/git_lfs4/fv3gfs/fix" |
There was a problem hiding this comment.
@KateFriedman-NOAA - I see multiple copies of the 'fixed' data on Jet. Is this the correct directory?
There was a problem hiding this comment.
No, that is a copy from /lfs4. The official fix path on Jet is now: /lfs5/HFIP/hfv3gfs/glopara/FIX/fix
DESCRIPTION OF CHANGES:
Problem: Following the failure of the storage lfs4 on Jet, spack stack moved to another storage space: Contrib. This makes all softwares relying on spack stack libraries on Jet to fail.
Solution: Update jet modulefiles to point to the new installation of spack stack.
TESTS CONDUCTED:
The changes affects only Jet as all modifications are localized in Jet modulefile.
Optional test.
Cycle Global workflow at resolutions 96/48, 192/96 and 384/192
DEPENDENCIES:
None
DOCUMENTATION:
Not needed.
ISSUE:
If this PR is resolving or referencing one or more issues, in this repository or elsewhere, list them here. For example, "Fixes issue mentioned in #123" or "Related to bug in https://github.com/NOAA-EMC/other_repository/pull/63"
Fixes issue mentioned in #977
Refs NOAA-EMC/global-workflow#2841