On 09/13/2016 09:16 AM, Kenneth Hoste wrote:
Hi Joachim

On 13/09/16 15:05, Joachim Hein wrote:
Hi,

I try to install Cuda using easybuild. it fails the sanity checks :( Most likely I am missing an instruction.

I am trying with the easyconfig CUDA-7.5.18.eb in EB 2.8.2. Looking through the logs it seems that it doesn’t install a driver. There is a remark in the logs that this would need doing as root (reference to sudo). Should I install pieces as root prior to running the EB cuda easyconfig? If so, what should I do as root and what ill the easyconfig do for me?

As far as I know, the CUDA easyconfig will only install the CUDA runtime libraries. But I don't have much experience with GPGPU systems, so maybe someone else can correct me.

Since the driver is closely tied to the hardware you're using, and needs admin privileges, EasyBuild indeed doesn't take care of that.

Yes - you want to have the NVIDIA driver installed first. If you have a RHEL/CentOS/SUSE system, you should install the drivers from the distro's repos. For example, on a CentOS 7 system I would do something like:

curl -L -o cuda-repo-rhel7-7.5-18.x86_64.rpm http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-repo-rhel7-7.5-18.x86_64.rpm

yum install cuda-repo-rhel7-7.5-18.x86_64.rpm
yum install nvidia-kmod

The way EasyBuild installs CUDA may not make much sense at first, but this makes it easy to have multiple versions of CUDA installed side-by-side without changing the drivers. This way, you can have the latest driver along with CUDA 7.0, 7.5, 8.0, etc.

Eliot

--
Eliot Eshelman
Microway, Inc.

Reply via email to