Closed samfux84 closed 5 years ago
I could solve my problem by removing all
if not lapack_info
sections in setup.py and by replacing extra_info=lapack_info
in all add_extension commands with
include_dirs = ['/cluster/apps/openblas/0.2.13_seq/x86_64/gcc_4.8.2/lib'], define_macros = [('HAVE_CBLAS', None)], library_dirs = ['/cluster/apps/openblas/0.2.13_seq/x86_64/gcc_4.8.2/lib'], libraries = ['openblas', 'openblas'], runtime_library_dirs = ['/cluster/apps/openblas/0.2.13_seq/x86_64/gcc_4.8.2/lib']
Seems to work:
[sfux@eu-c7-041-01 ~]$ python
Python 3.6.1 (default, Jan 25 2018, 08:42:21)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymc
>>>
First, are you intending to use PyMC2? We recommend users to work in PyMC3, as it is the current version in development and is far better at this point in time.
If you are interested in PyMC2, please go ahead and submit a PR and I will merge it.
I got a request from one of our users to install sonics on our HPC cluster and according
https://github.com/kzkedzierska/sonics
it depends on pymc. I just tried to follow the installation instructions. I don't know if sonics would as well work with PyMC3.
The solution that I implemented is just a manual hack of the setup.py file that is far from a PR that would solve the problem in general.
Yes, it looks like PyMC2 is what is required, so you have installed the correct version for what your user requires.
I will leave this be for the time being, and see if anyone else reports this issue before trying to dig into it.
In the setup.py file, you are checking for lapack with the command:
lapack_info = get_info('lapack_opt',1)
our numpy is linked against OpenBLAS, which is not detected with this command:
on the other hand, numpy.config.show() prints all the necessary information:
What information is required for the installation ?