coecms / conda-envs

3 stars 2 forks source link

Update to scipy causes GLIBC symbol missing error #39

Closed aidanheerdegen closed 2 years ago

aidanheerdegen commented 2 years ago

An update to scipy

- scipy                 1.8.0  py39hee8e79c_1  installed                     
+ scipy                 1.8.1  py39he49c0e8_0  conda-forge/linux-64      25 MB

caused a problem with GLIBC compatibility:

/g/data/hh5/public/apps/miniconda3/envs/analysis3-22.04/lib/python3.9/site-packages/scipy/fft/_pocketfft/__init__.py:3: in <module>
    from .basic import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """
    Discrete Fourier Transforms - basic.py
    """
    import numpy as np
    import functools
>   from . import pypocketfft as pfft
E   ImportError: /g/data/hh5/public/apps/miniconda3/envs/analysis3-22.04/lib/python3.9/site-packages/tables/../../../././libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /g/data/hh5/public/apps/miniconda3/envs/analysis3-22.04/lib/python3.9/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-39-x86_64-linux-gnu.so)

/g/data/hh5/public/apps/miniconda3/envs/analysis3-22.04/lib/python3.9/site-packages/scipy/fft/_pocketfft/basic.py:6: ImportError
aidanheerdegen commented 2 years ago

Fixed with scipy pin https://github.com/coecms/conda-envs/commit/823ace153a95c0dfda96d4bfe1fa8a65e06dcfb8

aidanheerdegen commented 2 years ago

Should leave open until pin removed.

aidanheerdegen commented 2 years ago

Removed pin https://github.com/coecms/conda-envs/commit/8d3c5fd51bb88474dc24c4830f9e21bc476df28e

Tested ok. Fixed.