invalid module format

I have installed cuda3.0 on my redhat 5.4, but when i tried deviceQuery. It gave me an error telling that invalid module format.
I tried to run, but failed. It saids that i can’t run binary file.

Anyone can tell me how to sovle this problem or give me some directions?

thanks in advance!