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

Module files on Gaea C6 do not allow UPP to compile #1110

Closed
EricJames-NOAA opened this issue Jan 3, 2025 · 9 comments · Fixed by #1116
Closed

Module files on Gaea C6 do not allow UPP to compile #1110

EricJames-NOAA opened this issue Jan 3, 2025 · 9 comments · Fixed by #1116
Labels
bug Something isn't working EPIC Support Requested

Comments

@EricJames-NOAA
Copy link
Contributor

I am unable to compile UPP on Gaea C6. Loading the modulefile "gaeac6" produces the following error message:

Lmod has detected the following error: The following module(s) are unknown: "hdf5/1.14.3" "ip/5.0.0"

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 "hdf5/1.14.3" "ip/5.0.0"

Also make sure that all modulefiles written in TCL start with the string #%Module

Executing this command requires loading "hdf5/1.14.3" which failed while processing the following module(s):

Module fullname  Module Filename
---------------  ---------------
upp_common       /gpfs/f6/bil-pmp/scratch/Eric.James/code/UPP/modulefiles/upp_common.lua
gaeac6           /gpfs/f6/bil-pmp/scratch/Eric.James/code/UPP/modulefiles/gaeac6.luaExecuting this command requires loading "ip/5.0.0" which failed while processing the following module(s):

Module fullname  Module Filename
---------------  ---------------
upp_common       /gpfs/f6/bil-pmp/scratch/Eric.James/code/UPP/modulefiles/upp_common.lua
gaeac6           /gpfs/f6/bil-pmp/scratch/Eric.James/code/UPP/modulefiles/gaeac6.lua
@WenMeng-NOAA
Copy link
Collaborator

@gspetro-NOAA @FernandoAndrade-NOAA Could you address this issue?

@WenMeng-NOAA WenMeng-NOAA added bug Something isn't working EPIC Support Requested labels Jan 3, 2025
@gspetro-NOAA
Copy link
Collaborator

I've reached out to my teammates who are working on Gaea C6 and will let you know when I hear back or put them in touch with you.

@natalie-perlin
Copy link

Gaea-c6 modulefile was not updated to use the spack-stack-1.8.0 as several other platforms.
#1062

The modulefile ./modulefiles/gaeac6.lua needs an update!

@RatkoVasic-NOAA
Copy link

As @natalie-perlin said, two lines in modulefiles/gaeac6.lua has to be changed:

-prepend_path("MODULEPATH", "/autofs/ncrc-svm1_proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.8.0/envs/ue-intel-2021.10.0/install/modulefiles/Core")

-cmake_ver=os.getenv("cmake_ver") or "3.23.1"
+cmake_ver=os.getenv("cmake_ver") or "3.27.9"

Result:

Currently Loaded Modules:
  1) craype-x86-genoa                               12) stack-intel/2023.2.0     23) zlib-ng/2.1.6         34) crtm/2.4.0.1            45) fargparse/1.8.0
  2) perftools-base/23.12.0                         13) libfabric/1.20.1         24) libpng/1.6.37         35) g2/3.5.1                46) gettext/0.20.2
  3) xpmem/2.9.6-1.1_20240510205610__g087dc11fc19d  14) craype-network-ofi       25) hdf5/1.14.3           36) g2tmpl/1.13.0           47) libxcrypt/4.4.35
  4) CmrsEnv/default                                15) cray-mpich/8.1.29        26) snappy/1.1.10         37) ip/5.0.0                48) sqlite/3.43.2
  5) TimeZoneEDT/default                            16) stack-cray-mpich/8.1.29  27) zstd/1.5.2            38) w3emc/2.10.0            49) util-linux-uuid/2.38.1
  6) DefApps/default                                17) glibc/2.31               28) c-blosc/1.21.5        39) nemsio/2.5.4            50) python/3.11.7
  7) cray-pmi/6.1.13                                18) nghttp2/1.57.0           29) netcdf-c/4.9.2        40) parallel-netcdf/1.12.3  51) pfunit/4.10.0
  8) cray-dsmml/0.2.2                               19) curl/8.7.1               30) netcdf-fortran/4.6.1  41) parallelio/2.6.2        52) sigio/2.3.2
  9) PrgEnv-intel/8.5.0                             20) cmake/3.27.9             31) bacio/2.4.1           42) esmf/8.6.1              53) wrf-io/1.2.0
 10) intel-classic/2023.2.0                         21) libjpeg/2.1.0            32) crtm-fix/2.4.0.1_emc  43) gftl/1.14.0             54) upp_common
 11) craype/2.7.30                                  22) jasper/2.0.32            33) git-lfs/2.11.0        44) gftl-shared/1.9.0       55) gaeac6

@ulmononian
Copy link

@EricJames-NOAA did you have a chance to give the suggestions @RatkoVasic-NOAA / @natalie-perlin made?

@FernandoAndrade-NOAA is there a plan to update the c6 modulefile accordingly?

@gspetro-NOAA
Copy link
Collaborator

It looks like @EricJames-NOAA opened PR #1116 an hour ago to update the modulefiles, so it sounds like this moving along! But @EricJames-NOAA , feel free to chime in!

@EricJames-NOAA
Copy link
Contributor Author

@gspetro-NOAA @ulmononian yes, I opened that PR to make the needed changes to the modulefile! I am now able to compile UPP on Gaea C6 using tests/compile_upp.sh, although I have to comment out all the "module" commands and load the environment manually. Probably something is not right with my environment. But at least the modulefile should be good with this PR.

@WenMeng-NOAA WenMeng-NOAA linked a pull request Jan 22, 2025 that will close this issue
@WenMeng-NOAA
Copy link
Collaborator

@ulmononian @gspetro-NOAA Would the EPIC like to do a UPP executable build testing on Gaea C6 with PR #1116? At EMC side, we don't have Gaea access. Otherwise, the PR is ready for merging since the UPP RTs don't include Gaea.

@gspetro-NOAA
Copy link
Collaborator

Yes, I will test the build on PR #1116 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EPIC Support Requested
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants