Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29393 Discussions

intel fortran compiler error cannot execute binary file

pvaldez
Beginner
1,536 Views

I installed version 9.1.031 on linux redhat 5. When i type the command

ifort int_sin.f90 in the samples directory

I get an error

/opt/intel/fc/9.1.031/bin/ifort: line 33: /opt/intel/fc/9.1.031/bin/iforbin: cannot execute binary file

/opt/intel/fc/9.1.031/bin/ifort: line 33: /opt/intel/fc/9.1.031/bin/iforbin: Success

Does anyone know what this means and how to fix>

Paul

0 Kudos
1 Reply
Lorri_M_Intel
Employee
1,536 Views

If this is, in fact, an actual cut-and-paste from your command window, then I think I see the problem.

The file /opt/intel/fc/XX/bin/ifort is really a script that invokes the Fortran driver binary.

That binary is *supposed* to be called "ifortbin".

In your message, it looks like it's trying to call "iforbin" (note the missing "t")

Please check your file /opt/intel/fc/9.1.031/bin/ifort, and make sure it's invoking the correct binary.

Also - kids, don't try this at home. :-) Theoretically, you should never have to edit the ifort script, and we don't really want you to do it - or stuff like this could happen!

- Lorri

0 Kudos
Reply