[GE users] "cannot execute binary file"

Paul Smith pas50 at cam.ac.uk
Fri Dec 16 11:23:42 GMT 2005

Reuti wrote:
> The "head" seems to look whether the first line gives the interpreter  
> for this script. This is usually a full path. As the standard-env  isn't 
> found: is the default $PATH not appropriate for your system?  One of 
> these two is working? Which Linux type? Is the "/etc/ ld.so.conf" on the 
> nodes containing all necessary paths to the libs?  Can you try to 
> compile your a.out as statically linked program and  try with a full 
> path /home/blabla/a.out?

-bash-2.05b$ qrsh /tmp/hello
/tmp/hello: /tmp/hello: cannot execute binary file
-bash-2.05b$ qrsh echo \$PATH
head: cannot open `echo' for reading: No such file or directory
echo: /bin/echo: cannot execute binary file
-bash-2.05b$ qrsh /bin/echo \$PATH
/bin/echo: /bin/echo: cannot execute binary file
-bash-2.05b$ cat script3
echo $PATH
-bash-2.05b$ qrsh script3

-bash-2.05b$gcc -static ../hello.c -o hello
-bash-2.05b$ gcc -static ../hello.c -o hello
-bash-2.05b$ ldd hello
         not a dynamic executable
-bash-2.05b$ pwd
-bash-2.05b$ qrsh /admin/pas/mpich-1.2.7p1/hello
/admin/pas/mpich-1.2.7p1/hello: /admin/pas/mpich-1.2.7p1/hello: cannot 
execute binary file

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list