Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
doku:spack [2023/05/17 14:46]
msiegel
doku:spack [2023/05/17 15:26] (current)
msiegel
Line 36: Line 36:
  
 <code> <code>
-spack find %gcc@9.1.0+spack find %gcc@12.2.0 
 +</code> 
 + 
 +List specific installed software packages use: 
 + 
 +<code> 
 +spack find openmpi
 </code> </code>
  
Line 42: Line 48:
  
 <code> <code>
-spack find openmpi@4.1.0+spack find openmpi@4.1.4
 </code> </code>
  
Line 48: Line 54:
  
 <code> <code>
-spack find openmpi@4.1.0%gcc@9.1.0+spack find openmpi@4.1.4%gcc@12.2.0
 </code> </code>
  
Line 54: Line 60:
  
 <code> <code>
-spack find -l openmpi@4.1.0%gcc@9.1.0 +spack find -l openmpi@4.1.4%gcc@12.2.0 
-spack find -lv openmpi@4.1.0%gcc@9.1.0 +spack find -lv openmpi@4.1.4%gcc@12.2.0 
-spack find -lvd openmpi@4.1.0%gcc@9.1.0+spack find -lvd openmpi@4.1.4%gcc@12.2.0
 </code> </code>
  
Line 67: Line 73:
 </code> </code>
  
-This will list all available versions of ''py-scipy'' which have been build with ''python@3.7.4'' and any version of ''intel-mkl''.+This will list all available versions of ''py-scipy'' which have been built with ''python@3.7.4'' and any version of ''intel-mkl''.
  
 List all currently loaded packages: List all currently loaded packages:
Line 83: Line 89:
  
 <code> <code>
-spack load openmpi@4.1.0%gcc@9.1.0+spack load openmpi@4.1.4%gcc@12.2.0
 </code> </code>
  
-This will load the corresponding module:+This will load the corresponding module, even if ''module list'' will not show anything!
 <code> <code>
-module list +zen xyz@l51:~$ spack load openmpi@4.1.4%gcc@12.2.0 arch=linux-almalinux8-zen3 /2vqdnay 
-Currently Loaded Modulefiles+zen xyz@l51:~$ module list 
- 1) openmpi/4.1.0-gcc-9.1.0-2cmze2s+No Modulefiles Currently Loaded
 +zen xyz@l51:~$ spack find --loaded 
 +-- linux-almalinux8-zen3 gcc@12.2.0 --------------------------- 
 +autoconf@2.69                       curl@7.85.0     hwloc@2.8.0           libgpg-error@1.46  m4@1.4.19       openssh@9.1p1   py-setuptools@65.5.0  util-linux-uuid@2.38.1 
 +autoconf-archive@2022.02.11         diffutils@3.8   json-c@0.16           libiconv@1.16      meson@0.63.3    openssl@1.1.1s  py-wheel@0.37.1       util-macros@1.19.3 
 +automake@1.16.5                     expat@2.4.8     krb5@1.19.3           libmd@1.0.4        mpfr@4.1.0      pcre2@10.39     python@3.9.15         xz@5.2.7 
 +berkeley-db@18.1.40                 gawk@5.1.1      libbsd@0.11.5         libpciaccess@0.16  munge@0.5.15    perl@5.36.0     readline@8.1.2        zlib@1.2.13 
 +bison@3.8.2                         gdbm@1.23       libedit@3.1-20210216  libsigsegv@2.13    ncurses@6.3     pigz@2.7        slurm@22.05.2.1       zstd@1.5.2 
 +bzip2@1.0.8                         gettext@0.21.1  libevent@2.1.12       libtool@2.4.7      ninja@1.11.1    pkgconf@1.8.0   sqlite@3.39.4 
 +ca-certificates-mozilla@2022-10-11  glib@2.74.1     libffi@3.4.2          libxml2@2.10.1     numactl@2.0.14  pmix@4.1.2      tar@1.34 
 +cmake@3.24.3                        gmp@6.2.1       libgcrypt@1.10.1      lz4@1.9.4          openmpi@4.1.4   py-pip@22.2.2   texinfo@6.5 
 +==> 61 loaded packages
 </code> </code>
  
Line 96: Line 113:
  
 <code> <code>
-module load openmpi/4.1.0-gcc-9.1.0-2cmze2s+module load openmpi/4.1.4-gcc-12.2.0-2vqdnay
 </code> </code>
  
Line 104: Line 121:
  
 <code> <code>
-spack find -l openmpi@4.1.0%gcc@9.1.0+zen xyz@l51:~$ spack find -l openmpi@4.1.4%gcc@12.2.0 
 +-- linux-almalinux8-zen3 / gcc@12.2.0 --------------------------- 
 +2vqdnay openmpi@4.1.4
 ==> 1 installed package ==> 1 installed package
--- linux-centos7-x86_64 / gcc@9.1.0 ----------------------------- 
-2cmze2s openmpi@4.1.0 
-</code> 
  
-The hash ''2cmze2s'' uniquely identifies the package and can also be used to load the software module:+</code>
  
 +The hash ''2vqdnay'' uniquely identifies the package and can also be used to load the software module:
  
 <code> <code>
-spack load /2cmze2s+spack load /2vqdnay
 </code> </code>
  
  • doku/spack.txt
  • Last modified: 2023/05/17 15:26
  • by msiegel