You are not logged in.

#1 2018-09-21 13:34:11

Dentrax
Member
Registered: 2018-08-05
Posts: 21

How do I install version of CUDA 9.0?

Hey,

I was installed CUDA via: pacman -S cuda

CUDA 9.2 version installed on the system. There is a incompatible between CUDA 9.2 version and the tensorFlow-gpu. Therefore i need to install CUDA 9. I downloaded 9.0 tar.xz file here: https://archive.archlinux.org/packages/c/cuda/

After that, I tried this: pacman -U cuda-9.0.176-4-x86_64.pkg.tar.xz

It gives me this warning:

loading packages...
warning: downgrading package cuda (9.2.148-2 => 9.0.176-4)
resolving dependencies...
warning: cannot resolve "gcc6", a dependency of "cuda"
:: The following package cannot be upgraded due to unresolvable dependencies:
      cuda

When i type "y":

looking for conflicting packages...
 there is nothing to do

for "N":

error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'gcc6' required by cuda

I found this topic but it was insufficient explanation: https://bbs.archlinux.org/viewtopic.php?id=234861

How do I correctly install CUDA 9.0?

Offline

#2 2018-09-21 15:19:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,430

Re: How do I install version of CUDA 9.0?

XY problem. Are you aware there is a https://www.archlinux.org/packages/comm … flow-cuda/ that claims to be compatible with the most recent CUDA? If you are and you aren't using that, why are you not using that?

Offline

#3 2018-09-26 22:36:51

alex628
Member
Registered: 2017-08-25
Posts: 9

Re: How do I install version of CUDA 9.0?

I am also having the same problem. The

pacman -S tensorflow-cuda

does not resolve the issue.

Last edited by alex628 (2018-09-26 22:37:51)

Offline

#4 2018-09-26 22:54:43

loqs
Member
Registered: 2014-03-06
Posts: 19,106

Re: How do I install version of CUDA 9.0?

@alex628 you have not provided details of the issue as V1del requested.
What is failing to work?  Where did you obtain it from?  What output does it produce when it fails?

Offline

#5 2018-09-27 17:11:48

Dentrax
Member
Registered: 2018-08-05
Posts: 21

Re: How do I install version of CUDA 9.0?

V1del wrote:

XY problem. Are you aware there is a https://www.archlinux.org/packages/comm … flow-cuda/ that claims to be compatible with the most recent CUDA? If you are and you aren't using that, why are you not using that?

Thank you! But I can't understand what should i do after i installed the that package. Is it replacament for CUDA? If so, do I have to do something else after installing?

Offline

#6 2018-09-27 20:10:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,430

Re: How do I install version of CUDA 9.0?

Whoops I linked the wrong thing, use https://www.archlinux.org/packages/comm … flow-cuda/

Edit: Because I looked at the PKGBUILD for a sec, if you have a Haswell+ generation CPU, you mgiht get even more fancy with https://www.archlinux.org/packages/comm … w-opt-cuda

Last edited by V1del (2018-09-28 09:14:30)

Offline

#7 2019-01-21 19:06:07

jdeaton
Member
Registered: 2019-01-21
Posts: 1

Re: How do I install version of CUDA 9.0?

You have to install gcc6 first.

yaourt -S gcc6

Last edited by jdeaton (2019-01-21 19:08:52)

Offline

#8 2019-01-21 19:16:48

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: How do I install version of CUDA 9.0?

jdeaton wrote:

You have to install gcc6 first.

yaourt -S gcc6

Welcome to the BBS. There are a few things that you should take note of before your next post:

1. Don't recommend the use of AUR helpers without significant consideration.
2. This thread is months old and may not even be answerable. Please do not necrobump old topics.
3. Following 2, please reread the code of conduct you agreed to when you registered today.

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB