spack / spack-bootstrap-installer

Code to generate installers for Spack and any required dependencies (ie python)
Apache License 2.0
1 stars 0 forks source link

Spack Environments #14

Open BetsyMcPhail opened 3 years ago

BetsyMcPhail commented 3 years ago

Spack tutorial is here ---> https://spack-tutorial.readthedocs.io/en/latest/tutorial_environments.html

Following along on Windows, get first error here:

C:\Users\betsy.mcphail\Spack 0.16.0>spack env activate myproject
←[1;31m==>←[0m Error: `spack env activate` requires spack's shell support.

  To set up shell support, run the command below for your shell.

  ←[1;36mFor bash/zsh/sh:←[0m
    . C:\Users\betsy.mcphail\Spack 0.16.0\spack-0.16.0\share\spack/setup-env.sh

  ←[1;36mFor csh/tcsh:←[0m
    source C:\Users\betsy.mcphail\Spack 0.16.0\spack-0.16.0\share\spack/setup-env.csh

  ←[1;36mFor fish:←[0m
    source C:\Users\betsy.mcphail\Spack 0.16.0\spack-0.16.0\share\spack/setup-env.fish

  Or, if you do not want to use shell support, run one of these instead:

      eval `spack env activate --sh   myproject`  # bash/zsh/sh
      eval `spack env activate --csh  myproject`  # csh/tcsh
      eval `spack env activate --fish myproject`  # fish
BetsyMcPhail commented 3 years ago

https://modules.readthedocs.io/en/latest/INSTALL-win.html

BetsyMcPhail commented 3 years ago

Link to slack discussion --> https://spackpm.slack.com/archives/C01E7RJ9G49/p1612207878001100

BetsyMcPhail commented 3 years ago

Notes from 2/1 meeting:

BetsyMcPhail commented 3 years ago

@loulawrence here's my notes so far