{"action":"created","issue":{"url":"https://api.github.com/repos/spack/spack/issues/9321","repository_url":"https://api.github.com/repos/spack/spack","labels_url":"https://api.github.com/repos/spack/spack/issues/9321/labels{/name}","comments_url":"https://api.github.com/repos/spack/spack/issues/9321/comments","events_url":"https://api.github.com/repos/spack/spack/issues/9321/events","html_url":"https://github.com/spack/spack/pull/9321","id":362848853,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDUyMzEz","number":9321,"title":"Avoid hdf5+mpi dependency for py-h5py~mpi","user":{"login":"pramodk","id":666852,"node_id":"MDQ6VXNlcjY2Njg1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/666852?v=4","gravatar_id":"","url":"https://api.github.com/users/pramodk","html_url":"https://github.com/pramodk","followers_url":"https://api.github.com/users/pramodk/followers","following_url":"https://api.github.com/users/pramodk/following{/other_user}","gists_url":"https://api.github.com/users/pramodk/gists{/gist_id}","starred_url":"https://api.github.com/users/pramodk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramodk/subscriptions","organizations_url":"https://api.github.com/users/pramodk/orgs","repos_url":"https://api.github.com/users/pramodk/repos","events_url":"https://api.github.com/users/pramodk/events{/privacy}","received_events_url":"https://api.github.com/users/pramodk/received_events","type":"User","site_admin":false},"labels":[{"id":446630669,"node_id":"MDU6TGFiZWw0NDY2MzA2Njk=","url":"https://api.github.com/repos/spack/spack/labels/dependencies","name":"dependencies","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-22T11:12:35Z","updated_at":"2018-10-17T15:17:26Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/spack/spack/pulls/9321","html_url":"https://github.com/spack/spack/pull/9321","diff_url":"https://github.com/spack/spack/pull/9321.diff","patch_url":"https://github.com/spack/spack/pull/9321.patch"},"body":"Before this:\r\n\r\n```\r\n→ spack spec py-h5py~mpi\r\nInput spec\r\n--------------------------------\r\npy-h5py~mpi\r\n\r\nConcretized\r\n--------------------------------\r\npy-h5py@2.8.0%clang@9.0.0-apple~mpi arch=darwin-sierra-x86_64\r\n    ^hdf5@1.10.3%clang@9.0.0-apple~cxx~debug~fortran+hl+mpi+pic+shared~szip~threadsafe arch=darwin-sierra-x86_64\r\n        ^openmpi@3.1.2%clang@9.0.0-apple~cuda+cxx_exceptions fabrics= ~java~memchecker~pmi schedulers= ~sqlite3~thread_multiple+vt arch=darwin-sierra-x86_64\r\n            ^hwloc@1.11.9%clang@9.0.0-apple~cairo~cuda+libxml2~pci+shared arch=darwin-sierra-x86_64\r\n                ^libxml2@2.9.8%clang@9.0.0-apple~python arch=darwin-sierra-x86_64\r\n                    ^pkgconf@1.4.2%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                    ^xz@5.2.4%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                    ^zlib@1.2.11%clang@9.0.0-apple+optimize+pic+shared arch=darwin-sierra-x86_64\r\n    ^py-cython@0.28.3%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n        ^python@2.7.15%clang@9.0.0-apple+dbm~optimizations patches=123082ab3483ded78e86d7c809e98a804b3465b4683c96bd79a2fd799f572244 +pic+pythoncmd~shared~tk~ucs4 arch=darwin-sierra-x86_64\r\n            ^bzip2@1.0.6%clang@9.0.0-apple+shared arch=darwin-sierra-x86_64\r\n            ^gdbm@1.14.1%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                ^readline@7.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                    ^ncurses@6.1%clang@9.0.0-apple~symlinks~termlib arch=darwin-sierra-x86_64\r\n            ^openssl@1.0.2o%clang@9.0.0-apple+systemcerts arch=darwin-sierra-x86_64\r\n            ^sqlite@3.23.1%clang@9.0.0-apple~functions arch=darwin-sierra-x86_64\r\n    ^py-numpy@1.15.1%clang@9.0.0-apple+blas+lapack arch=darwin-sierra-x86_64\r\n        ^openblas@0.3.3%clang@9.0.0-apple cpu_target= ~ilp64 patches=47cfa7a952ac7b2e4632c73ae199d69fb54490627b66a62c681e21019c4ddc9d +pic+shared threads=none ~virtual_machine arch=darwin-sierra-x86_64\r\n        ^py-setuptools@40.2.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n    ^py-pkgconfig@1.2.2%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n + ~/.s/d/packages.yaml\r\n        ^py-nose@1.3.7%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n    ^py-six@1.11.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n```\r\n\r\nAfter this:\r\n\r\n```\r\n→ spack spec py-h5py~mpi\r\nInput spec\r\n--------------------------------\r\npy-h5py~mpi\r\n\r\nConcretized\r\n--------------------------------\r\npy-h5py@2.8.0%clang@9.0.0-apple~mpi arch=darwin-sierra-x86_64\r\n    ^hdf5@1.10.3%clang@9.0.0-apple~cxx~debug~fortran+hl~mpi+pic+shared~szip~threadsafe arch=darwin-sierra-x86_64\r\n        ^zlib@1.2.11%clang@9.0.0-apple+optimize+pic+shared arch=darwin-sierra-x86_64\r\n    ^py-cython@0.28.3%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n        ^python@2.7.15%clang@9.0.0-apple+dbm~optimizations patches=123082ab3483ded78e86d7c809e98a804b3465b4683c96bd79a2fd799f572244 +pic+pythoncmd~shared~tk~ucs4 arch=darwin-sierra-x86_64\r\n            ^bzip2@1.0.6%clang@9.0.0-apple+shared arch=darwin-sierra-x86_64\r\n            ^gdbm@1.14.1%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                ^readline@7.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n                    ^ncurses@6.1%clang@9.0.0-apple~symlinks~termlib arch=darwin-sierra-x86_64\r\n                        ^pkgconf@1.4.2%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n            ^openssl@1.0.2o%clang@9.0.0-apple+systemcerts arch=darwin-sierra-x86_64\r\n            ^sqlite@3.23.1%clang@9.0.0-apple~functions arch=darwin-sierra-x86_64\r\n    ^py-numpy@1.15.1%clang@9.0.0-apple+blas+lapack arch=darwin-sierra-x86_64\r\n        ^openblas@0.3.3%clang@9.0.0-apple cpu_target= ~ilp64 patches=47cfa7a952ac7b2e4632c73ae199d69fb54490627b66a62c681e21019c4ddc9d +pic+shared threads=none ~virtual_machine arch=darwin-sierra-x86_64\r\n        ^py-setuptools@40.2.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n    ^py-pkgconfig@1.2.2%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n        ^py-nose@1.3.7%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n    ^py-six@1.11.0%clang@9.0.0-apple arch=darwin-sierra-x86_64\r\n```"},"comment":{"url":"https://api.github.com/repos/spack/spack/issues/comments/430670743","html_url":"https://github.com/spack/spack/pull/9321#issuecomment-430670743","issue_url":"https://api.github.com/repos/spack/spack/issues/9321","id":430670743,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDY3MDc0Mw==","user":{"login":"ferdonline","id":915100,"node_id":"MDQ6VXNlcjkxNTEwMA==","avatar_url":"https://avatars2.githubusercontent.com/u/915100?v=4","gravatar_id":"","url":"https://api.github.com/users/ferdonline","html_url":"https://github.com/ferdonline","followers_url":"https://api.github.com/users/ferdonline/followers","following_url":"https://api.github.com/users/ferdonline/following{/other_user}","gists_url":"https://api.github.com/users/ferdonline/gists{/gist_id}","starred_url":"https://api.github.com/users/ferdonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferdonline/subscriptions","organizations_url":"https://api.github.com/users/ferdonline/orgs","repos_url":"https://api.github.com/users/ferdonline/repos","events_url":"https://api.github.com/users/ferdonline/events{/privacy}","received_events_url":"https://api.github.com/users/ferdonline/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T15:17:26Z","updated_at":"2018-10-17T15:17:26Z","author_association":"NONE","body":"I have noticed exactly the same behavior, and I agree spack should not build an mpi stack if it was not requested.\r\nBut to my mind this is a limitation of the concretizer, which doesnt take currently installed packages into account to define the variants. Instead it seems to always take the defaults.\r\n\r\nDoes anyone know more details and whether that is already being looked into? Links appreciated :)"}}
{"actor":{"display_login":"ferdonline"}}