[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: upgrade to jessie from wheezy with cuda problems



On Wed, Nov 13, 2013 at 05:43:47PM -0500, Lennart Sorensen wrote:
> On Wed, Nov 13, 2013 at 10:53:30PM +0100, Francesco Pietra wrote:
> > francesco@gig64:~/tmp$ file ./CUDA-Z-0.7.189.run
> > ./CUDA-Z-0.7.189.run: data
> > francesco@gig64:~/tmp$
> 
> OK that's weird.  I expected to see x86 32 or 64bit binary.
> 
> Seems to be a shell scripts with compressed code in it.  Yuck. :)

OK I got it running.  It is a 32bit binary.

I had to install these:

ii  libcuda1:i386                         331.20-1                        i386         NVIDIA CUDA runtime library
ii  libcudart5.0:i386                     5.0.35-8                        i386         NVIDIA CUDA runtime library
ii  libgl1-nvidia-glx:i386                331.20-1                        i386         NVIDIA binary OpenGL libraries
ii  libstdc++6:i386                       4.8.2-4                         i386         GNU Standard C++ Library v3
ii  libxrender1:i386                      1:0.9.8-1                       i386         X Rendering Extension client library
ii  zlib1g:i386                           1:1.2.8.dfsg-1                  i386         compression library - runtime

Then I was able to run it.  No messing with LD_LIBRARY_PATH or anything.

To install :i386 packages you first have to enable multiarch support
with dpkg and run apt-get update.  So something like:

dpkg --add-architecture i386
apt-get update
apt-get install libcuda1:i386 libcudart5.0:i386 libgl1-nvidia-glx:i386 libstdc++6:i386 libxrender1:i386 zlib1g:i386

Don't worry about the exact versions, since I am running
unstable+experimental.  You don;t need to do that to get it working.

For your 64bit code you probably need libcuda1 libcudart5.0 and such
installed in the 64bit version.

-- 
Len Sorensen


Reply to: