-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Indeterministic concretization of spec by hash #20191
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingconcretizationtriageThe issue needs to be prioritizedThe issue needs to be prioritized
Description
Steps to reproduce the issue
The current concretizer is indeterministic, which causes a problem where spack spec /hash gives something else than the spec that was installed (it reconcretizes?)
$ docker run -it --rm stabbles/example-issue
$ spack -e ci spec -l -I /yrnbhxf
Input spec
--------------------------------
[+] [email protected]%[email protected]+cuda~ipo+openmp~rocm~static build_type=Release arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]~argobots+fortran+hwloc+hydra+libxml2+pci+romio~slurm~verbs+wrapperrpath device=ch3 netmod=tcp patches=eb982de3366d48cbc55eb5e0df43373a45d9f51df208abf0835a72dc6c0b4774 pmi=pmi arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml+pci+shared arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]~python arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]~pic arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]+optimize+pic+shared arch=linux-ubuntu20.04-x86_64
[+] ^[email protected]%[email protected]~consistent_fpcsr~ilp64+pic+shared threads=openmp arch=linux-ubuntu20.04-x86_64
Concretized
--------------------------------
[+] yrnbhxf [email protected]%[email protected]+cuda~ipo+openmp~rocm~static build_type=Release arch=linux-ubuntu20.04-x86_64
[+] gmy52m7 ^[email protected]%[email protected]~doc+ncurses+openssl+ownlibs~qt arch=linux-ubuntu20.04-x86_64
[+] pzjdrll ^[email protected]%[email protected]~symlinks+termlib arch=linux-ubuntu20.04-x86_64
[+] akuna5k ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] 2zdbnfk ^[email protected]%[email protected]+systemcerts arch=linux-ubuntu20.04-x86_64
[+] mvux77l ^[email protected]%[email protected]+cpanm+shared+threads arch=linux-ubuntu20.04-x86_64
[+] pbx54fp ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] iowiob4 ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] do42wzt ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] p7dmb5p ^[email protected]%[email protected]+optimize+pic+shared arch=linux-ubuntu20.04-x86_64
[+] yqxaqi3 ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] q4tpd5i ^[email protected]%[email protected]~argobots+fortran+hwloc+hydra+libxml2+pci+romio~slurm~verbs+wrapperrpath device=ch3 netmod=tcp patches=eb982de3366d48cbc55eb5e0df43373a45d9f51df208abf0835a72dc6c0b4774 pmi=pmi arch=linux-ubuntu20.04-x86_64
[+] upn7gfp ^[email protected]%[email protected] patches=84b916c0bf8c51b7e7b28417692f0ad3e7030d1f3c248ba77c42ede5c1c5d11e,bd9e4e5cc280f9753ae14956c4e4aa17fe7a210f55dd6c84aa60b12d106d47a2 arch=linux-ubuntu20.04-x86_64
[+] sxa5vpx ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] kpggc3j ^[email protected]%[email protected]+sigsegv patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 arch=linux-ubuntu20.04-x86_64
[+] lkczm6t ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] rdeo35u ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
- siarxpq ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
- 2mkwa6s ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] yt6n2ph ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu20.04-x86_64
[+] 5m22qwv ^[email protected]%[email protected]+shared arch=linux-ubuntu20.04-x86_64
[+] 2eqr3yc ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] w6zptbc ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] a5l2lj7 ^[email protected]%[email protected]~python arch=linux-ubuntu20.04-x86_64
[+] kamfyq4 ^[email protected]%[email protected]~pic arch=linux-ubuntu20.04-x86_64
[+] wqwrumn ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] zntphih ^[email protected]%[email protected] patches=12f6edb0c6b270b8c8dba2ce17998c580db01182d871ee32b7b6e4129bd1d23a,1732115f651cff98989cb0215d8f64da5e0f7911ebf0c13b064920f088f2ffe1 arch=linux-ubuntu20.04-x86_64
[+] nvxxkza ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml+pci+shared arch=linux-ubuntu20.04-x86_64
[+] ux5xkhg ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] rustdy6 ^[email protected]%[email protected] arch=linux-ubuntu20.04-x86_64
[+] ynvweut ^[email protected]%[email protected]~consistent_fpcsr~ilp64+pic+shared threads=openmp arch=linux-ubuntu20.04-x86_64note how there's suddenly two uninstalled specs.
Information on your system
- Spack: 0.16.0
- Python: 3.8.6
- Platform: linux-ubuntu20.04-zen2
- Concretizer: clingo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconcretizationtriageThe issue needs to be prioritizedThe issue needs to be prioritized