The most recent thing I tried to use is the package manager, but everywhere I try to compile it it’s the same error message:
==> nccl dependencies:
- cuda (already installed)
==> Continue building nccl ? [Y/n]
==> ------------------------------
==> U
==> Building and installing package
==> Making package: nccl 1.3.0.1-5 (Sun Apr 23 17:50:51 CDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading nccl-1.3.0-1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 121 0 121 0 0 94 0 --:--:-- 0:00:01 --:--:-- 94
100 41418 0 41418 0 0 9379 0 --:--:-- 0:00:04 --:--:-- 13326
==> Validating source files with sha256sums...
nccl-1.3.0-1.tar.gz ... Passed
==> Extracting sources...
-> Extracting nccl-1.3.0-1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
Grabbing src/nccl.h > /tmp/yaourt-tmp-daenerys/aur-nccl/include/nccl.h
Compiling src/libwrap.cu > /tmp/yaourt-tmp-daenerys/aur-nccl/obj/libwrap.o
-gencode=arch=compute_35,code=sm_35: No such file or directory
make: *** [Makefile:99: /tmp/yaourt-tmp-daenerys/aur-nccl/obj/libwrap.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build nccl.
==> Restart building nccl ? [y/N]
==> -----------------------------
==>
I can only assume that my repeated issue with this is a bug on NVidia’s end. I followed the correct instructions when I did it myself, same “No such file or directory libwrap.o” issue (and I looked, it’s not in there where it’s supposed to be), and even the package manager has the same issue. If I’m missing something I humbly apologize but this is making me tear my hair out I just want Caffe2 working and this eternally stands in my way. It was the same in the third-party directory inside of caffe2, it was the same when I git cloned it myself.