- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I have a program in Fortran 90 written in Windows with MSVS (2017)+Intel Parallel Studio (2019). How can I compile it to run on Linux?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it really is a Fortran 90 program (and doesn't make use of features outside of Fortran), you would just obtain and install a Fortran compiler for Linux and use that to build the program. Intel sells Intel Parallel Studio XE Composer Edition for Fortran Linux. There is also the gfortran compiler as part of the Gnu Compiler Collection (gcc) that should work if it is close to standard Fortran 90.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see in your other thread that you also use OpenMP - that is supported by most Fortran compilers on Linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For a larger project with several source files, I have used Visual Studio output to list the sources files which helps create a makefile to compile the project on Linux. A previous forum article with an example makefile may be helpful:
Regards, Greg T.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page