Skip to content
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

0.6.2 conda-forge linux package broken: undefined symbol: cblas_dasum #694

Closed
alimanfoo opened this issue Jan 31, 2019 · 6 comments
Closed

Comments

@alimanfoo
Copy link

Installing 0.6.2 from conda-forge on linux, then importing msprime, I get:

>>> import msprime
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aliman/github/malariagen/vector-ops/binder/deps/conda/envs/vector-ops/lib/python3.6/site-packages/msprime/__init__.py", line 26, in <module>
    from _msprime import FORWARD  # NOQA
ImportError: /home/aliman/github/malariagen/vector-ops/binder/deps/conda/envs/vector-ops/lib/python3.6/site-packages/../../libgsl.so.23: undefined symbol: cblas_dasum

Here's exactly what's installed:

$ conda list | grep msprime
msprime                   0.6.2            py36hf3f1cc3_0    conda-forge
@alimanfoo
Copy link
Author

Also applies to 0.6.1. Guessing it's something to do with recent compiler migration.

@jeromekelleher
Copy link
Member

Thanks @alimanfoo, but, sigh, this again. GSL and BLAS has been a consistent headache in conda-forge for the past six months. In this issue we had problems with OSX and here for problems other have had with msprime on Linux.

There's two solutions:

  1. Use conda to install openblas. This should fix up the missing symbols on GSL.
  2. Install GSL from apt if you're on linux and install msprime using pip. This is probably the more dependable solution, I'm afraid.

@jeromekelleher
Copy link
Member

Our of interest, have you updated your conda envs to the new gcc7 infrastructure? I'm guessing you're seeing it on CI, so it should all be fine..

@alimanfoo
Copy link
Author

Thanks @alimanfoo, but, sigh, this again. GSL and BLAS has been a consistent headache in conda-forge for the past six months. In this issue we had problems with OSX and here for problems other have had with msprime on Linux.

Oof.

There's two solutions:

  1. Use conda to install openblas. This should fix up the missing symbols on GSL.

I thought it was already installed (via numpy). E.g., extract of conda list:

blas                      1.0                    openblas  
libopenblas               0.3.3                h5a2b251_3  
gsl                       2.4                  h14c3975_4  

Are there some openblas/gsl packages I should be specifically installing?

  1. Install GSL from apt if you're on linux and install msprime using pip. This is probably the more dependable solution, I'm afraid.

Thanks, yep this definitely works on linux. I need to support some mac users though.

Our of interest, have you updated your conda envs to the new gcc7 infrastructure? I'm guessing you're seeing it on CI, so it should all be fine..

Yes seeing it on CI on a completely fresh conda installation. Just reinstalled locally from scratch too and get the same.

@jeromekelleher
Copy link
Member

Hmmm, this is a bit different then. Thanks @alimanfoo, looking into it now.

@jeromekelleher
Copy link
Member

Closing in favour of conda-forge/msprime-feedstock#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants