View previous topic :: View next topic |
Author |
Message |
mcnutty Tux's lil' helper
Joined: 29 Dec 2009 Posts: 142
|
Posted: Sun Dec 03, 2017 5:27 pm Post subject: Can't emerge cuda 8 |
|
|
I've been using cuda 8 for a while now and have cuda 9 masked in my package.mask file. However, I recently updated to the new profile (17) and had to rebuild all my packages. For some reason it complained that cuda 9 was masked. Just to get my system going I unmasked it with the thought I could fix it later. Now that my system is rebuilt I'm trying to go back to cuda 8 but I can't figure it out. It always complains that cuda 9 is masked and will not install another available version.
Here is my /etc/portage/package.mask file:
Code: |
>=dev-util/nvidia-cuda-sdk-9.0.0
>=dev-util/nvidia-cuda-toolkit-9.0.0
|
I also ran eqeury depgraph to try to see if anything was requiring cuda 9 for some reason. I'm not exactly sure how to read this but it looks like all cuda versions are masked for some reason.
Code: |
dev-util/nvidia-cuda-toolkit-6.5.14 M[package.mask]
`-- sys-devel/gcc-4.8.5 (<sys-devel/gcc-4.9) M[package.mask] [cxx]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-6.0-r1 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-340.32) ~amd64 [uvm]
`-- x11-drivers/nvidia-drivers-340.104 (<x11-drivers/nvidia-drivers-346.35) amd64 [uvm]
[ dev-util/nvidia-cuda-toolkit-6.5.14 stats: packages (7), max depth (1) ]
* dependency graph for dev-util/nvidia-cuda-toolkit-6.5.19-r1
`-- dev-util/nvidia-cuda-toolkit-6.5.19-r1 M[package.mask]
`-- sys-devel/gcc-4.8.5 (<sys-devel/gcc-4.9) M[package.mask] [cxx]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-6.0-r1 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-343.22) ~amd64 [uvm]
`-- x11-drivers/nvidia-drivers-340.104 (<x11-drivers/nvidia-drivers-346.35) amd64 [uvm]
[ dev-util/nvidia-cuda-toolkit-6.5.19-r1 stats: packages (7), max depth (1) ]
* dependency graph for dev-util/nvidia-cuda-toolkit-7.5.18-r2
`-- dev-util/nvidia-cuda-toolkit-7.5.18-r2 M[package.mask]
`-- sys-devel/gcc-6.4.0 (>=sys-devel/gcc-4.7) amd64 [cxx]
`-- sys-devel/gcc-4.9.4 (<sys-devel/gcc-5) M[package.mask] [cxx]
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-352.39) ~amd64 [uvm]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-6.0-r1 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
[ dev-util/nvidia-cuda-toolkit-7.5.18-r2 stats: packages (7), max depth (1) ]
* dependency graph for dev-util/nvidia-cuda-toolkit-8.0.44
`-- dev-util/nvidia-cuda-toolkit-8.0.44 M[package.mask]
`-- sys-devel/gcc-6.4.0 (>=sys-devel/gcc-4.7) amd64 [cxx]
`-- sys-devel/gcc-5.4.0-r3 (<sys-devel/gcc-6) M[package.mask] [cxx]
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-367.44) ~amd64 [X uvm]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-6.0-r1 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
[ dev-util/nvidia-cuda-toolkit-8.0.44 stats: packages (7), max depth (1) ]
* dependency graph for dev-util/nvidia-cuda-toolkit-8.0.61
`-- dev-util/nvidia-cuda-toolkit-8.0.61 M[package.mask]
`-- sys-devel/gcc-6.4.0 (>=sys-devel/gcc-4.7) amd64 [cxx]
`-- sys-devel/gcc-5.4.0-r3 (<sys-devel/gcc-6) M[package.mask] [cxx]
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-375.26) ~amd64 [X uvm]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-5.9-r101 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
[ dev-util/nvidia-cuda-toolkit-8.0.61 stats: packages (7), max depth (1) ]
* dependency graph for dev-util/nvidia-cuda-toolkit-9.0.176
`-- dev-util/nvidia-cuda-toolkit-9.0.176 M[package.mask]
`-- sys-devel/gcc-6.4.0 (>=sys-devel/gcc-4.7) amd64 [cxx]
`-- x11-drivers/nvidia-drivers-387.34 (>=x11-drivers/nvidia-drivers-384.81) ~amd64 [X uvm]
`-- sys-libs/libtermcap-compat-2.0.8-r3 (sys-libs/libtermcap-compat) amd64
`-- sys-libs/ncurses-5.9-r101 (sys-libs/ncurses) amd64 [tinfo]
`-- virtual/jre-1.8.0-r1 (>=virtual/jre-1.6) amd64
[ dev-util/nvidia-cuda-toolkit-9.0.176 stats: packages (6), max depth (1) ]
|
Any help would be appreciated. |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Sun Dec 03, 2017 8:01 pm Post subject: |
|
|
Can you post
emerge -pv =dev-util/nvidia-cuda-sdk-8.0.61
It seems that cuda 8 only compile with gcc-5 |
|
Back to top |
|
|
mcnutty Tux's lil' helper
Joined: 29 Dec 2009 Posts: 142
|
Posted: Sun Dec 03, 2017 11:06 pm Post subject: |
|
|
Code: |
cusack opt # emerge -pv =dev-util/nvidia-cuda-sdk-8.0.61
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS #] sys-devel/gcc-5.4.0-r3:5.4.0::gentoo [6.4.0:6.4.0::gentoo] USE="cxx fortran (multilib) nls nptl openmp sanitize vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-jit) (-libssp) -mpx -nopie -nossp -objc -objc++ -objc-gc -pgo -regression-test -vanilla" 32 KiB
[ebuild UD#] dev-util/nvidia-cuda-toolkit-8.0.61:0/8.0.61::gentoo [9.0.176:0/9.0.176::gentoo] USE="-debugger -doc -eclipse -profiler" 0 KiB
[ebuild UD#] dev-util/nvidia-cuda-sdk-8.0.61::gentoo [9.0.176::gentoo] USE="cuda doc examples -debug -mpi -opencl" 0 KiB
Total: 3 packages (2 downgrades, 1 in new slot), Size of downloads: 32 KiB
|
Thanks, that does appear to be the case. By fiddling with both the package.mask and package.unmask files I was able to at least try to emerge cuda 8 (using gcc-5). The toolkit succeeded but the sdk failed. At this point it is probably more productive for me to try to adopt cuda 9. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|