Is centos 7 compatible with Pycuda?

General support questions
Post Reply
Marr575
Posts: 1
Joined: 2019/03/22 17:48:56

Is centos 7 compatible with Pycuda?

Post by Marr575 » 2019/03/22 18:21:51

Hello.

Is centos 7 compatible with Pycuda?,

Has someone a link to a tutorial of how to install it?

Regards

MR

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Is centos 7 compatible with Pycuda?

Post by TrevorH » 2019/03/22 18:52:56

There are no pycuda packages in any of my configured yum repos.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Is centos 7 compatible with Pycuda?

Post by Mike_Rochefort » 2019/03/23 17:23:27

Just kidding, the below failed for me with 3.7.2. The installation instructions are available on the github page and package wiki, though. You’ll need to have the CUDA tool kit available, for obvious reasons.
——————
Make sure you have pip and Python 2.7+ available (you can use 3.x if you want), either through the EPEL python2-pip package or using get-pip.py to retrieve it for Python 3. If you built Python yourself, the pip module should have been built with the rest of the STL. The just run the following:

python -m pip install PyCUDA --user

or for Python 3:

python3 -m pip install PyCUDA --user

You could always use pip or pip3 binaries, but the above is more explicit to which Python version your going to use the package with.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

Post Reply