Ubuntu 12.04 64-bit BRP4cuda32nv270 errors

Craig & Colleen Hadady
Craig & Colleen...
Joined: 25 Mar 12
Posts: 2
Credit: 1673371
RAC: 0
Topic 196350

Hello!

I'm getting errors running cuda apps on 64-bit Ubuntu. I've installed what I think is the necessary 32-bit libraries (ia32-libs libstdc++6 libstdc++5 freeglut3) and the app fails with:

Stderr output

7.0.25

process exited with code 127 (0x7f, -129)

../../projects/einstein.phys.uwm.edu/einsteinbinary_BRP4_1.24_i686-pc-linux-gnu__BRP4cuda32nv270: error while loading shared libraries: libcuda.so.1: wrong ELF class: ELFCLASS64

]]>

I've verified that I have lubcuda.so in both flavors:

root@linuxBox:/home/craigh# ls -ltra /usr/lib32/libcu*
-rwxr-xr-x 1 root root 8084256 May 5 14:02 /usr/lib32/libcuda.so.295.49
lrwxrwxrwx 1 root root 17 May 5 14:02 /usr/lib32/libcuda.so.1 -> libcuda.so.295.49
lrwxrwxrwx 1 root root 12 May 5 14:02 /usr/lib32/libcuda.so -> libcuda.so.1
root@linuxBox:/home/craigh# ls -ltra /usr/lib/libcu*
-rwxr-xr-x 1 root root 8613044 May 5 14:02 /usr/lib/libcuda.so.295.49
lrwxrwxrwx 1 root root 17 May 5 14:02 /usr/lib/libcuda.so.1 -> libcuda.so.295.49
lrwxrwxrwx 1 root root 12 May 5 14:02 /usr/lib/libcuda.so -> libcuda.so.1

User ID 587813, Computer ID 5294241.

Also, is there a way to test an installation before work is sent? This is my second day of failures.

Thanks in advance!

Thanks!

Craig & Colleen Hadady
Craig & Colleen...
Joined: 25 Mar 12
Posts: 2
Credit: 1673371
RAC: 0

Ubuntu 12.04 64-bit BRP4cuda32nv270 errors

Problem Solved! Seems there must have been a problem with the Ubuntu packages. I did an apt-get update / upgrade and ia32-libs was refreshed. The application now works.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.