ufs-community / ufs-weather-model

UFS Weather Model
Other
142 stars 249 forks source link

errors in compiling current hash on Dogwood #2097

Open hu5970 opened 10 months ago

hu5970 commented 10 months ago

I am trying to compile the current version (hash e7380ddb81) on Dogwood:

cd ufs-weather-model/tests
module purge
./compile.sh wcoss2 "-DAPP=ATM -D32BIT=ON -DCCPP_SUITES=FV3_HRRR_gf -DDEBUG=ON" hrrr_gf_debug intel YES NO

I got the following error message:

+ BUILD_JOBS=8
+ hostname
dlogin06
+ set +x
Lmod has detected the following error:  The following module(s) are unknown: "mapl-B/2.40.3" "esmf-B/8.5.0" "netcdf-B/4.9.2" "pio-B/2.5.10"
"hdf5-B/1.14.0" "cray-mpich/8.1.12" "fms/2023.02.01"

Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
  $ module --ignore-cache load "mapl-B/2.40.3" "esmf-B/8.5.0" "netcdf-B/4.9.2" "pio-B/2.5.10" "hdf5-B/1.14.0" "cray-mpich/8.1.12" "fms/2023.02.01"

Also make sure that all modulefiles written in TCL start with the string #%Module
DusanJovic-NOAA commented 10 months ago

Instead of running module purge before compile.sh try to run module reset.