When I try to compile PyTorch from source, I encountered this issue (CUDA 8.0, cuDNN v5 and python3.5). Thank you!
/cm/shared/package/gcc/4.9.3/bin/ld: cannot find -lcuda
/cm/shared/package/gcc/4.9.3/bin/ld: skipping incompatible /lib/…/lib/libpthread.so when searching for -lpthread
/cm/shared/package/gcc/4.9.3/bin/ld: skipping incompatible /usr/lib/…/lib/libpthread.so when searching for -lpthread
collect2: error: ld returned 1 exit status
error: command ‘gcc’ failed with exit status 1
- what platform is this? Linux? what linux?
- do you have the NVIDIA driver installed?
- post a full log of the command
python setup.py install, not just the error message.
It’s weird that there is no
pthread in your system, i am suspecting Solaris?
Thank you so much!!! It was right on point…
In our cluster, we have a central host that sends out slurm job requests to other nodes. But this host itself does not have GPU cards, hence no NVIDIA driver. That’s why I couldnt install master branch from this central host. But by requesting a node with GPU card, it can installed via that machine.
Many thanks again!!