I am trying to run a 32-bit CUDA Linux application (compiled with CUDA 2.3) on a 64-bit Linux system running CUDA 3.0(Ubuntu 9.10).
I packaged the application this way:
- I ran “ldd” on the binary and then noted down all the dependent 32-bit libraries.
- I bundled the app with all of its dependent libraries into an archive.
I unzipped the archive inside my home directory and ran the application from the command prompt after setting the “LD_LIBRARY_PATH” to “.” (Current directory)
I get “Segmentation fault”.
If I “sudo” the application, the error changes to “Error loading libcudart…”
I don’t understand why I have to “sudo” to run this application. It runs fine without a “sudo” in the original 32-bit system.
I don’t understand why the 32-bit cudart is not being able to be loaded.
SeLinux is disabled
I also added the unzipped package path to “/etc/ld.so.conf” and ran “ldconfig”