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

执行 python setup.py install 时报错 #6

Open
Carloslius opened this issue Jan 21, 2024 · 2 comments
Open

执行 python setup.py install 时报错 #6

Carloslius opened this issue Jan 21, 2024 · 2 comments

Comments

@Carloslius
Copy link

(splatam) root@carlos:/SplaTAM/diff-gaussian-rasterization-w-depth.git# python setup.py install
Traceback (most recent call last):
File "setup.py", line 13, in
from torch.utils.cpp_extension import CUDAExtension, BuildExtension
File "/usr/local/lib/python3.8/dist-packages/torch/init.py", line 191, in
_load_global_deps()
File "/usr/local/lib/python3.8/dist-packages/torch/init.py", line 153, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File "/usr/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /opt/hpcx/ompi/lib/libmpi.so.40: undefined symbol: opal_hwloc201_hwloc_get_type_depth

@ryoppippi
Copy link

I'm facing a similar error.

(splatam) root@rkmtlab-UA9C-R49:/SplaTAM/diff-gaussian-rasterization-w-depth# python setup.py install
Traceback (most recent call last):
  File "setup.py", line 13, in <module>
    from torch.utils.cpp_extension import CUDAExtension, BuildExtension
  File "/usr/local/lib/python3.8/dist-packages/torch/__init__.py", line 191, in <module>
    _load_global_deps()
  File "/usr/local/lib/python3.8/dist-packages/torch/__init__.py", line 153, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)

@Saligz
Copy link

Saligz commented Mar 26, 2024

Hello,
Faced the same problem.
Adding

PATH="${PATH}:/opt/hpcx/ompi/bin"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/hpcx/ompi/lib"

before installing libboost-all-dev in my Dockerfile fixed the issue for me.

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

3 participants