{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/3007","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/3007/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/3007/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/3007/events","html_url":"https://github.com/LLNL/spack/issues/3007","id":204987391,"number":3007,"title":"building scipy results in openblas not being found","user":{"login":"krafczyk","id":6449564,"avatar_url":"https://avatars.githubusercontent.com/u/6449564?v=3","gravatar_id":"","url":"https://api.github.com/users/krafczyk","html_url":"https://github.com/krafczyk","followers_url":"https://api.github.com/users/krafczyk/followers","following_url":"https://api.github.com/users/krafczyk/following{/other_user}","gists_url":"https://api.github.com/users/krafczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/krafczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krafczyk/subscriptions","organizations_url":"https://api.github.com/users/krafczyk/orgs","repos_url":"https://api.github.com/users/krafczyk/repos","events_url":"https://api.github.com/users/krafczyk/events{/privacy}","received_events_url":"https://api.github.com/users/krafczyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-02-02T20:28:56Z","updated_at":"2017-02-02T21:26:51Z","closed_at":null,"body":"`spack install py-scipy^python@2.7.13` results in a build failure because numpy is not able to find libopenblas.\r\n\r\n`spack-build.out`:\r\n\r\n```\r\n==> '/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/python-2.7.13-k4lqbpgv5cfkmfrbcclaleymg54pb7nz/bin/python' 'setup.py' '--no-user-cfg' 'build'\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 415, in <module>\r\n    setup_package()\r\n  File \"setup.py\", line 395, in setup_package\r\n    from numpy.distutils.core import setup\r\n  File \"/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/py-numpy-1.11.2-oedxdqtz445gq76ieasfss53ugpxe3ov/lib/python2.7/site-packages/numpy-1.11.2-py2.7-linux-x86_64.egg/numpy/__init__.py\", line 142, in <module>\r\n    from . import add_newdocs\r\n  File \"/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/py-numpy-1.11.2-oedxdqtz445gq76ieasfss53ugpxe3ov/lib/python2.7/site-packages/numpy-1.11.2-py2.7-linux-x86_64.egg/numpy/add_newdocs.py\", line 13, in <module>\r\n    from numpy.lib import add_newdoc\r\n  File \"/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/py-numpy-1.11.2-oedxdqtz445gq76ieasfss53ugpxe3ov/lib/python2.7/site-packages/numpy-1.11.2-py2.7-linux-x86_64.egg/numpy/lib/__init__.py\", line 8, in <module>\r\n    from .type_check import *\r\n  File \"/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/py-numpy-1.11.2-oedxdqtz445gq76ieasfss53ugpxe3ov/lib/python2.7/site-packages/numpy-1.11.2-py2.7-linux-x86_64.egg/numpy/lib/type_check.py\", line 11, in <module>\r\n    import numpy.core.numeric as _nx\r\n  File \"/home/matthew/Software/NCSA/Vertical/spack/spack/opt/spack/linux-arch-x86_64/gcc-6.3.1/py-numpy-1.11.2-oedxdqtz445gq76ieasfss53ugpxe3ov/lib/python2.7/site-packages/numpy-1.11.2-py2.7-linux-x86_64.egg/numpy/core/__init__.py\", line 14, in <module>\r\n    from . import multiarray\r\nImportError: libopenblas.so.0: cannot open shared object file: No such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/277089206","html_url":"https://github.com/LLNL/spack/issues/3007#issuecomment-277089206","issue_url":"https://api.github.com/repos/LLNL/spack/issues/3007","id":277089206,"user":{"login":"davydden","id":8023934,"avatar_url":"https://avatars.githubusercontent.com/u/8023934?v=3","gravatar_id":"","url":"https://api.github.com/users/davydden","html_url":"https://github.com/davydden","followers_url":"https://api.github.com/users/davydden/followers","following_url":"https://api.github.com/users/davydden/following{/other_user}","gists_url":"https://api.github.com/users/davydden/gists{/gist_id}","starred_url":"https://api.github.com/users/davydden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydden/subscriptions","organizations_url":"https://api.github.com/users/davydden/orgs","repos_url":"https://api.github.com/users/davydden/repos","events_url":"https://api.github.com/users/davydden/events{/privacy}","received_events_url":"https://api.github.com/users/davydden/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T21:26:51Z","updated_at":"2017-02-02T21:26:51Z","body":"@krafczyk a whild guess, do you do `spack load python` before running everything? Maybe there is a mixture between system provided python and the one used to build `py-numpy`?\r\n\r\nI was testing it by\r\n```\r\n$ spack activate py-numpy; spack load python;\r\n$ python -c 'import numpy as np; t = np.ones((3,3),int); assert t.sum() == 9; assert np.dot(t,t).sum() == 27; np.show_config()'\r\n```"}}
{"actor":{"display_login":"davydden"}}