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

"Lennart Sorensen" <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.