You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile MinkowskiEngine by Anaconda, I use the command: python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
But it occurs the following problems: /media/LOCAL/home/cn1978/miniforge3/envs/SLidR/compiler_compat/ld: cannot find /lib64/libpthread.so.0 /media/LOCAL/home/cn1978/miniforge3/envs/SLidR/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a collect2: error: ld returned 1 exit status error: command '/media/LOCAL/home/cn1978/miniforge3/envs/SLidR/bin/g++' failed with exit code 1
My environment is: torch=1.9.0, cuda=11.1, python=3.8, gcc=9.4.0
Thanks a lot!
The text was updated successfully, but these errors were encountered:
In my case, my environment is using pytorch==1.12.1, cuda==11.3, python==3.8.5 and gcc==9.5.0 inside an Ubuntu 22.04 WSL running in Windows 11, and I've faced the same issue.
I could get the compilation to succeed by following these steps. Basically, it would seem that the libraries are being looked for in the wrong place, and doing some symbolic links solves the issue. Assuming your libraries are also under /usr/lib/x86_64-linux-gnu, you have to create the following links:
When I try to compile MinkowskiEngine by Anaconda, I use the command:
python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
But it occurs the following problems:
/media/LOCAL/home/cn1978/miniforge3/envs/SLidR/compiler_compat/ld: cannot find /lib64/libpthread.so.0 /media/LOCAL/home/cn1978/miniforge3/envs/SLidR/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a collect2: error: ld returned 1 exit status error: command '/media/LOCAL/home/cn1978/miniforge3/envs/SLidR/bin/g++' failed with exit code 1
My environment is: torch=1.9.0, cuda=11.1, python=3.8, gcc=9.4.0
Thanks a lot!
The text was updated successfully, but these errors were encountered: