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

Missing cmake module in Cray environment during the software stack deployment #228

Open
ddeeptimahanti opened this issue Sep 6, 2023 · 3 comments

Comments

@ddeeptimahanti
Copy link
Collaborator

For some reason, cmake module wasn't available after the deployment in the Cray environment.
Only hidden module is available:

ddeeptimahanti@setonix-02:~> module --show_hidden av cmake

cmake/3.24.3-enoxs2u

----------------------- /software/setonix/2023.08/modules/zen3/cce/15.0.1/dependencies -----------------------
.cmake/3.24.3-e5hipii (H)

@ddeeptimahanti
Copy link
Collaborator Author

Installing it now:

module load spack/0.19.0
spack install -j128 [email protected] %[email protected]

@ddeeptimahanti
Copy link
Collaborator Author

ddeeptimahanti commented Sep 6, 2023

`==> Concretized [email protected]%[email protected] arch=None-None-zen2
 -   cki7xvt  [email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-sles15-zen2
[+]  oseny4z      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" ~symlinks+termlib abi=none build_system=autotools arch=linux-sles15-zen2
[+]  2hcq37q          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +internal_glib build_system=autotools arch=linux-sles15-zen2
 -   3zhjm54      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" ~docs~shared build_system=generic certs=mozilla arch=linux-sles15-zen2

==> Concretized [email protected]%[email protected] arch=None-None-zen3
 -   e5hipii  [email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~doc+ncurses~ownlibs~qt build_system=generic build_type=Release arch=linux-sles15-zen3
 -   usgpmot      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~gssapi~ldap~libidn2~librtmp~libssh~libssh2~nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-sles15-zen3
[+]  kbl32le      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +libbsd build_system=autotools arch=linux-sles15-zen3
[+]  haqmz4x          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=autotools arch=linux-sles15-zen3
[+]  3m462et              ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=autotools arch=linux-sles15-zen3
 -   o4dal4d      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +iconv build_system=autotools compression=bz2lib,lz4,lzma,lzo2,zlib,zstd crypto=mbedtls libs=shared,static programs=none xar=expat arch=linux-sles15-zen3
[+]  a3u5xsx          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" ~debug~pic+shared build_system=generic arch=linux-sles15-zen3
[+]  p7vz276              ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=autotools arch=linux-sles15-zen3
[+]  xgkdevp          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=autotools libs=shared,static arch=linux-sles15-zen3
 -   lvdwj6s          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=makefile libs=shared,static arch=linux-sles15-zen3
 -   p3ks5ut          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch"  build_system=autotools libs=shared,static arch=linux-sles15-zen3
 -   ge6emai          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +pic build_system=makefile build_type=Release libs=static arch=linux-sles15-zen3
[+]  yvt4er3          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" ~pic build_system=autotools libs=shared,static arch=linux-sles15-zen3
[+]  2xiug4h          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +programs build_system=makefile compression=none libs=shared,static arch=linux-sles15-zen3
 -   lo3ma2p      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools arch=linux-sles15-zen3
[+]  fmtnawi      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" ~symlinks+termlib abi=none build_system=autotools arch=linux-sles15-zen3
[+]  ru66hcc          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +internal_glib build_system=autotools arch=linux-sles15-zen3
 -   77l6g6z      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=makefile patches=093518c,3fbfe46 arch=linux-sles15-zen3
[+]  2icbpr5      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +optimize+pic+shared build_system=makefile arch=linux-sles15-zen3`

Cmake in Cray env is picking up gcc packages

@ddeeptimahanti
Copy link
Collaborator Author

ddeeptimahanti commented Sep 7, 2023

I installed it again and the spec looks good but the modulefile is still hidden.

spack@setonix-02:~$ module load spack/0.19.0 
Note: when this module is unloaded, the shell environment will NOT revert to its original state, and retain some
Spack settings. If you need the original shell environment, start a new shell session instead. 
spack@setonix-02:~$ spack spec -Il [email protected] %[email protected]
Input spec
--------------------------------
 -   [email protected]%[email protected]

Concretized
--------------------------------
[+]  p6jl2y6  [email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~doc+ncurses~ownlibs~qt build_system=generic build_type=Release arch=linux-sles15-zen3
[+]  usgpmot      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~gssapi~ldap~libidn2~librtmp~libssh~libssh2~nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-sles15-zen3
[+]  wsgftsl      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" +libbsd build_system=autotools arch=linux-sles15-zen3
[+]  wc4rpfn          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools arch=linux-sles15-zen3
[+]  jv432ky              ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools arch=linux-sles15-zen3
[+]  qzlybnh      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" +iconv build_system=autotools compression=bz2lib,lz4,lzma,lzo2,zlib crypto=mbedtls libs=shared,static programs=none xar=expat arch=linux-sles15-zen3
[+]  mwqpv7r          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~debug~pic+shared build_system=generic arch=linux-sles15-zen3
[+]  dqhn3bm              ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools arch=linux-sles15-zen3
[+]  zwno2qy          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools libs=shared,static arch=linux-sles15-zen3
[+]  uiuem4z          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=makefile libs=shared,static arch=linux-sles15-zen3
[+]  xjph37b          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools libs=shared,static arch=linux-sles15-zen3
[+]  lyvwd37          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" +pic build_system=makefile build_type=Release libs=static arch=linux-sles15-zen3
[+]  qdfx6pg          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~pic build_system=autotools libs=shared,static arch=linux-sles15-zen3
[+]  lo3ma2p      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=autotools arch=linux-sles15-zen3
[+]  dontu6q      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" ~symlinks+termlib abi=none build_system=autotools arch=linux-sles15-zen3
[+]  kdu2tar          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" +internal_glib build_system=autotools arch=linux-sles15-zen3
[+]  77l6g6z      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3"  build_system=makefile patches=093518c,3fbfe46 arch=linux-sles15-zen3
[+]  glsujlu      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3" +optimize+pic+shared build_system=makefile arch=linux-sles15-zen3

spack@setonix-02:~$ module swap PrgEnv-gnu/8.3.3 PrgEnv-cray

Lmod is automatically replacing "gcc/12.2.0" with "cce/15.0.1".


Due to MODULEPATH changes, the following have been reloaded:
  1) cray-mpich/8.1.25     2) python/3.10.10

spack@setonix-02:~$ module av cmake
No module(s) or extension(s) found!
If the avail list is too long consider trying:

"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".


spack@setonix-02:~$ module --show_hidden av cmake

------------------------ /software/setonix/2023.08/modules/zen3/cce/15.0.1/dependencies -------------------------
   .cmake/3.24.3-e5hipii (H)    .cmake/3.24.3-p6jl2y6 (H)

  Where:
   H:  Hidden Module

If the avail list is too long consider trying:

"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

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

No branches or pull requests

1 participant