I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit.
Error message is Bash: ./filename : Cannot execute binary file.
I've installed the gcc and gfortran libraries too.
Could anyone help?
|
I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is Bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone help? |
|||
| show 1 more comment |
|
As you can see from the output of 32 bit systems cannot run 64 bit binaries, it only works the other way around. |
|||
|
|
Try making the file executable
Then try running it
But if this is a exe file compiled for Windows, you probably need to install Wine. |
|||
|
|
file filenameand report results. – January Sep 5 '12 at 9:46file um.exeorfile um(whichever is the name of your binary file). However, likely the generated binaries are for one reason or other Windows binaries. Also, if the program is public, you can post the link to the sources. Or just post the makefile here. – January Sep 5 '12 at 9:58