ufs-community / ufs-srweather-app

UFS Short-Range Weather Application
Other
53 stars 114 forks source link

Fix nco version for Hera/Intel #1076

Closed RatkoVasic-NOAA closed 2 months ago

RatkoVasic-NOAA commented 2 months ago

Expected behavior

For some reason Hera with Intel compiler was using system installed nco library (4.9.3 version). It was not noticed until sys admins removed read permissions to 4.9.3 version and installed new version (5.1.6).

Hera:/apps/modules/modulefiles/nco>ll
-rwx------ 1 root root  651 Sep 08 2023 21:17:20 4.9.3
-rw-r--r-- 1 root root 1356 Feb 29 2024 17:21:01 5.1.6

All other machines/compilers use spack-stack installed nco@5.0.6

Current behavior

Load in modules fail because of wrong nco version (for Hera with Intel compiler).

Machines affected

Hera / Intel

Steps To Reproduce

  1. Clone ufs-srw-app
  2. cd ufs-srw-app
  3. module use $PWD/modulefiles
  4. module load build_hera_intel

Detailed Description of Fix (optional)

Replacing version 4.9.3 with 5.0.6 (spack-stack installation)