Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Nightly CD Docker Missing libs #20119

Closed
Zha0q1 opened this issue Apr 2, 2021 · 0 comments · Fixed by #20121
Closed

Nightly CD Docker Missing libs #20119

Zha0q1 opened this issue Apr 2, 2021 · 0 comments · Fixed by #20121

Comments

@Zha0q1
Copy link
Contributor

Zha0q1 commented Apr 2, 2021

All v1.x/master cpu/native/cu dockers are missing libgomp1 libquadmath0
nightly_v1.x_gpu_cu102_py3 is also missing libcudnn8 & libcudnn8-dev

>>> import mxnet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/mxnet/__init__.py", line 23, in <module>
    from .context import Context, current_context, cpu, gpu, cpu_pinned
  File "/usr/local/lib/python3.7/dist-packages/mxnet/context.py", line 20, in <module>
    from .base import _LIB
  File "/usr/local/lib/python3.7/dist-packages/mxnet/base.py", line 293, in <module>
    _LIB = _load_lib()
  File "/usr/local/lib/python3.7/dist-packages/mxnet/base.py", line 284, in _load_lib
    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
  File "/usr/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgomp.so.1: cannot open shared object file: No such file or directory

Proposed solution:

adding

# for nightly_v1.x_gpu_cu102_py3
apt-get install libcudnn8=8.0.4.30-1+cuda10.2
apt-get install libcudnn8-dev=8.0.4.30-1+cuda10.2
# fo all docker images
apt-get install -y libgomp1 libquadmath0

to the docker file somewhere should resolve the issue.

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

Successfully merging a pull request may close this issue.

1 participant