code generates "a.exe" on Mac OS X

code generates "a.exe" on Mac OS X


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?


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today