Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to use shell integration (setup-env.sh) #9

@justintoo

Description

@justintoo

I'm trying to actually use my installed tools now by sourcing them with the setup-env.sh file, but I keep getting the message below:

aztec2@too1:echo $SHELL
/bin/bash

aztec2@too1:. share/spack/setup-env.sh

aztec2@too1:./bin/spack use rose
==> This command requires spack's shell integration.

  To initialize spack's shell commands, you must run one of
  the commands below.  Choose the right command for your shell.

  For bash and zsh:
      . /g/g12/too1/development/opt/spack/share/spack/setup-env.sh

  For csh and tcsh:
      setenv SPACK_ROOT /g/g12/too1/development/opt/spack
      source /g/g12/too1/development/opt/spack/share/spack/setup-env.csh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions