-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
spack builds depended on user modules #27124
Comments
i realized there is an issue with loading modules after purging and we dont know how
|
After doing some troubleshooting the way to get
The cray-mpich modulepath is in
This is coming from this modulefile
|
i have reported this issue to Cray and referenced them to this issue for feedback. I would be curious to know if other sites are experiencing similar issues with spack builds when running |
Why was this marked as "impact-high"? |
I think i labelled this with several tags including |
It was indeed, then - after several months of not obtaining a reply on #27124 (comment) and having no further activity - I demoted that to Usually I tend to give "impact-high" to issues that need an immediate resolution, because they affect in a severe way lot of users on multiple platforms (but we have no written guidelines on that, so ymmv) |
Steps to reproduce
I have noticed spack builds are affected based on modules loaded in your environment. To reproduce this issue here is a simple spack.yaml with a compiler definition for gcc on Perlmutter using the cray wrappers but using modules to load the appropriate environment.
Next you can create the environment wherever you have the spack.yaml
Here is the error i get when i install libsigsegv when i dont have any modules loaded
It was not able to find the cray wrappers. Then i try with module restore which loads the startup modules that are provided by Cray and i am able to install libsigsegv
I am using the spack branch https://github.com/spack/spack/tree/e4s-21.08 though i think this can be reproduced regardless of spack versions.
Error message
No response
Information on your system
General information
spack debug report
and reported the version of Spack/Python/PlatformThe text was updated successfully, but these errors were encountered: