Skip to content

Add libgcc to dev and python3 envs

André Melo requested to merge libgcc-issue into master

When calling hpc05.create_remote_pbs_profile() on io it can throw the following error message

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/hpc05/__init__.py", line 20, in <module>
    exec('from .{0} import {1}'.format(module, ', '.join(names)))
  File "<string>", line 1, in <module>
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/hpc05/client.py", line 11, in <module>
    import ipyparallel
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/ipyparallel/__init__.py", line 11, in <module>
    import zmq
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/__init__.py", line 47, in <module>
    from zmq import backend
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/backend/__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/utils/sixcerpt.py", line 34, in reraise
    raise value
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/backend/__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/backend/select.py", line 27, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "/home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/backend/cython/__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/adealmeidanasc/miniconda3/envs/dev/lib/python3.6/site-packages/zmq/backend/cython/../../../../../libzmq.so.5)

This is solved by installing libgcc=5.2.0, as explained here. See also the discussion on the coding channel.

Edited by André Melo

Merge request reports

Loading