Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Want tips on Porting Fortran developed on Intel WIndows IDE to Gfortran on Linux

$
0
0

I have a straightforward 64-bit Windows console program .EXE that reads input from formatted files, crunches numbers and outputs to other formatted files. It consists of two  .F90 free-format files, one is a Fortran Module and the other contains the main program + subprogram code.
My standard of Fortran familiarity is F95. A requirement to speed it up can be met locally by porting the code to a much faster server which uses Linux and which has GFortran installed (but not Intel Linux composer - yet!).

The code uses no special directives or special functions, but it does invoke the  IFWIN module directly (for DOUBLE and DWORD) but no other special libraries or modules (AFAIK) so I hope it should port easily. I know that will have to change file names to match the Linux file naming and directory syntax, otherwise should this code therefore compile + link straightforwardly in GFortran to create a Linux executable?

Is it likely that the GFortran code will not be significantly slower than the optimised Intel Fortran-generated windows code so hopefully not compromising the hoped for increase in speed offered by the faster Linux-machine's multi-core processor?

Thanks in advance for advice on any tips re: porting to Linux.


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>