(cab668):~$ module avail
----------------- /g/g21/gamblin2/src/spack/share/spack/modules/chaos_5_x86_64_ib -----------------
Image...@6.8.9-10%g...@4.4.7-4df950dd lib...@1.11%g...@4.4.7-86650d54
SAM...@3.9.1%g...@4.4.7-57c9a0ca lib...@2.9.2%g...@4.4.7
adept-utils@1.0%g...@4.4.7-5adef8da lib...@2.9.2%g...@4.4.7-a8337315
adept...@1.0.1%g...@4.8.2-774647b6 llvm@3.0%g...@4.4.7
adept...@1.0.1%g...@4.8.2-c8f018d1 memaxes@0.5%g...@4.4.7-19ba57cb
adept...@1.0.1%in...@15.0.0-28963715 me...@8.0.5%g...@4.4.7-22dd4c4b
adept...@1.0.1%in...@15.0.1-ae1dfc92 me...@5.1.0%g...@4.4.7
...
(cab668):~$ module load qhull@1.0%g...@4.4.7
(cab668):~$ spack load qhull
(cab668):spack$ spack find hwloc
==> 3 installed packages.
-- chaos_5_x86_64_ib / g...@4.4.7 --------------------------------
hwloc@1.9
-- chaos_5_x86_64_ib / in...@14.0.2 -----------------------------
hwloc@1.9
-- chaos_5_x86_64_ib / in...@15.0.1 -----------------------------
hwloc@1.9
(cab668):spack$ spack load hwloc
==> Error: Multiple matches for spec hwloc. Choose one:
hwloc@1.9%g...@4.4.7=chaos_5_x86_64_ib
hwloc@1.9%in...@15.0.1=chaos_5_x86_64_ib
hwloc@1.9%in...@14.0.2=chaos_5_x86_64_ib
(cab668):spack$ spack load hwloc%gcc
Hi Todd,As you know, I've been evaluating the differences between Spack andHashdist. So I have quite a few questions. I'll just start with onehere.What is the recommended way to use spack for work? I followed thedocumentation and did:certik@redhawk:~$ spack install python==> python is already installed in
/home/certik/repos/spack/opt/unknown_arch/g...@4.9.2/python@2.7.8-3cadb17a.
certik@redhawk:~$ spack load python==> This command requires spack's shell integration.To initialize spack's shell commands, you must run one ofthe commands below. Choose the right command for your shell.For bash and zsh:. /home/certik/repos/spack/share/spack/setup-env.shFor csh and tcsh:setenv SPACK_ROOT /home/certik/repos/spacksource /home/certik/repos/spack/share/spack/setup-env.cshcertik@redhawk:~$ . /home/certik/repos/spack/share/spack/setup-env.shcertik@redhawk:~$ spack load pythonbash: module: command not foundDoes it meant that to use spack, I have to have the modules installed?I can do that, but I wanted to make sure first, that the recommendedway to use spack is through modules.Ondrej
--You received this message because you are subscribed to the Google Groups "Spack" group.To unsubscribe from this group and stop receiving emails from it, send an email to spack+un...@googlegroups.com.To post to this group, send email to sp...@googlegroups.com.Visit this group at http://groups.google.com/group/spack.For more options, visit https://groups.google.com/d/optout.
If you are using the modules (as opposed to dotkit) system, then you can use it to create modules whose only purpose is to load a set of other modules, using the `module` command. See http://modules.sourceforge.net/man/modulefile.html for what sounds like a treatment of you use case.
~Malcolm
module [ sub-command ] [ sub-command-args ]