I had a question on compiling source code files into an application that can run on different platforms. I will just summarise my queries here:
- If I compile a fortran source file into an application using ifort on my computer - will it run on other computers with same OS on it ? (for eg. compiled on Mac OSX machine, will it run on another Mac OSX machine ?)
- If the above happens, then what changes do I need to make to my compilation statement ? Would I need to add/remove flags etc. ? Would I need to use advanced Make features ?
- How do I set up a compilation of my source code such that it can run on another OS ? Is it even possible ?
Could any one throw some light on these issues ? any link, suggestions, comments, or pedagogic examples will be appreciated heavily