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

code generates "a.exe" on Mac OS X

Ali_T_
Beginner
603 Views

Hi, 

I have a FORTRAN code that when run on Windows is supposed to generate a "output.exe" file and after execution of this output.exe file, reuslts are produced. Apparently I can successfully compile the code with Intel FORTRAN on my Mac OS X bu it generates a "a.exe" file that I can't run on Mac. Is there a way to run the code in a way that it generates a mac-compatible executable file to get the final results?

thanks,

0 Kudos
1 Reply
Steven_L_Intel1
Employee
603 Views

Normally it would create an a.out executable if you did not ask to name it something else - that is the convention on OS X and Linux. When you say it "can't run on Mac", what do you mean? What happens when you try to run it? Do you get an error message? If so, what exactly does it say?

Please also show the exact command you use to build the program.

0 Kudos
Reply