-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error with spack-enable.bash
on gadi
#848
Comments
And if I keep following the steps (with my fix), then I get the following error [test] [/g/data/tm70/ms2335/spack/0.22 @gadi09] spack concretize -f --fresh
==> Error: 2024.11.15 is not a valid git ref for access-test |
Hi @manodeep, Would you be able to set a case to reproduce your error? Unfortunately if I follow the steps I don't get any error and I can't seem to reproduce the error you are getting. Thank you! |
Thanks @atteggiani! I am pretty sure that this has something to do with my setup - but I am not really sure what it is :( |
After a debugging session with @manodeep, we figured out the error was caused by a custom setting within his |
Thanks @atteggiani. For anyone else that stumbles on this, my setting was |
Description
When following the docs for setting up spack here, I ran into an error with the
spack-enable.bash
stepWhy
To debug why I was hitting the error, I added an
echo
statement to the script:With this
echo
statement, the output becomesMy bash version is (presumably the same for everyone):
I have changed my version such that the
if
conditions to 2 (forgadi
, i.e., no extra arguments) andelif
to 3 for ci (presumably one extra command-line argument). Not sure why I am hitting this error - presumably others haven't.Close Criteria
A new user can follow the steps for setting up
spack
in the docs without hitting an error.The text was updated successfully, but these errors were encountered: