code generates "a.exe" on Mac OS X

code generates "a.exe" on Mac OS X

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,

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Steve Lionel (Intel)

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.

Steve

Inicie sesión para dejar un comentario.