Error running Visual cuda profiler on FC11

I was trying to run the CUDA visual profiler on FC11. But i think i have run into a compatibility issue.

The cudaprof executable throws the following error.

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

However doing on ldd on the executable does not throw any dependencies.

[root@localhost bin]# ldd cudaprof
not a dynamic executable

I have the most recent version of glibc installed on my system. And am afraid to tinker with it for fear of breaking other parts of the system.

I am certain that ld-linux.so is used for dynamically linking executables. But the rest of the executables that have been installed as part of the CUDA sdk are running fine

It sounds like your download might have gotten corrupted somehow. The ldd output is consistent with cudaprof not being a valid executable ELF format file, rather than having no dependencies.

I have tried reinstalling the CUDA sdk. But the error remains the name. I haven’t been able to find such error coming up for anyone else. the error that’s coming is said to be occurring when we have an incompatible glibc library. Until now i was trying to work on similar lines as those problems. But since you are saying that it does not need that. i don’t know in which direction to proceed now… :( …

The profiler isn’t part of the SDK. It is either part of the toolkit, or a separate download, depending on which version of CUDA your are using. And it is dynamically linked. When you run ldd you should see something like this:

david@quadro:~$ ldd /opt/cuda2.2/cudaprof/bin/cudaprof 

	linux-gate.so.1 =>  (0xffffe000)

	libQtAssistantClient.so.4 => /usr/lib32/libQtAssistantClient.so.4 (0xf7efb000)

	libQtXml.so.4 => /usr/lib32/libQtXml.so.4 (0xf7ea3000)

	libQtGui.so.4 => /usr/lib32/libQtGui.so.4 (0xf77a0000)

	libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7798000)

	libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7780000)

	libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7778000)

	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf7770000)

	libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf776a000)

	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf76f9000)

	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf76cf000)

	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf76c1000)

	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75da000)

	libQtNetwork.so.4 => /usr/lib32/libQtNetwork.so.4 (0xf7549000)

	libQtCore.so.4 => /usr/lib32/libQtCore.so.4 (0xf73d5000)

	libz.so.1 => /usr/lib32/libz.so.1 (0xf73bf000)

	libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf73ba000)

	libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf7309000)

	librt.so.1 => /lib32/librt.so.1 (0xf7300000)

	libdl.so.2 => /lib32/libdl.so.2 (0xf72fc000)

	libpthread.so.0 => /lib32/libpthread.so.0 (0xf72e4000)

	libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf71f0000)

	libm.so.6 => /lib32/libm.so.6 (0xf71cb000)

	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf71c0000)

	libc.so.6 => /lib32/libc.so.6 (0xf7071000)

	libaudio.so.2 => /usr/lib32/libaudio.so.2 (0xf705b000)

	libXt.so.6 => /usr/lib32/libXt.so.6 (0xf700a000)

	libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf6fe6000)

	libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf6fe1000)

	libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf6fd8000)

	libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf6fd5000)

	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf6fb3000)

	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6fb0000)

	libxcb-xlib.so.0 => /usr/lib32/libxcb-xlib.so.0 (0xf6fae000)

	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6f96000)

	libselinux.so.1 => /lib32/libselinux.so.1 (0xf6f7d000)

	libpcre.so.3 => /usr/lib32/libpcre.so.3 (0xf6f55000)

	/lib/ld-linux.so.2 (0xf7f1d000)

	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6f50000)

If you are getting an error like the one you are reporting, it most likely means something is wrong with the profiler executable.