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

env path foward? spack install with yaml file on command line #81

Closed
cyrush opened this issue Jun 16, 2022 · 4 comments
Closed

env path foward? spack install with yaml file on command line #81

cyrush opened this issue Jun 16, 2022 · 4 comments

Comments

@cyrush
Copy link
Member

cyrush commented Jun 16, 2022

you can pass a yaml file with an environment spec directly to spack.

spack install ./spack.yaml

This path may open up a much easier way to use envs than spack shell support.

@cyrush
Copy link
Member Author

cyrush commented Jun 16, 2022

@white238 FYI

@cyrush
Copy link
Member Author

cyrush commented Jun 16, 2022

Or maybe I am just very confused -- simple example isn't working as I expected:

spack/spack#31168

@adrienbernede
Copy link
Member

adrienbernede commented Jun 16, 2022

I’d like to also bring this to your attention:
https://spack.readthedocs.io/en/latest/configuration.html?highlight=user_cache_path#overriding-local-configuration
I’ve add success using that.

@cyrush
Copy link
Member Author

cyrush commented Jun 17, 2022

Turns out I hopefully imagined or misunderstood this.

You can't build envs by just handing a spack.yaml over on the command line. You do have to use the shell, or -e

@cyrush cyrush closed this as completed Jun 17, 2022
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

2 participants