Compiling Fortran 77 for Windows

  • Context: Fortran 
  • Thread starter Thread starter RandomGuy88
  • Start date Start date
  • Tags Tags
    Fortran Windows
Click For Summary
SUMMARY

To compile Fortran 77 code on a Windows machine, the G95 compiler is recommended as it is compatible with Windows environments. Alternatively, Silverfrost FTN95 is another viable option, particularly for users needing a personal edition. Users should note that FTN77 may have limitations on newer Windows versions, primarily functioning on Windows XP or earlier. Access to the source code is essential for compilation, and users with minimal experience can utilize these tools to run legacy Fortran code effectively.

PREREQUISITES
  • Basic understanding of Fortran programming language
  • Familiarity with Windows operating system
  • Knowledge of compiling source code
  • Access to G95 or Silverfrost FTN95 compilers
NEXT STEPS
  • Download and install G95 compiler from http://www.g95.org/
  • Explore Silverfrost FTN95 features at http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.aspx
  • Research compatibility issues of FTN77 with modern Windows versions
  • Learn basic command-line operations for compiling Fortran code
USEFUL FOR

This discussion is beneficial for researchers, students, and developers needing to run legacy Fortran 77 code on Windows systems, particularly those with limited experience in programming and compilation processes.

RandomGuy88
Messages
404
Reaction score
6
Can someone suggest a way to easily compile fortran 77 code so it will run on a Windows machine. For my research I need to use a computer code that was written by former students at my school several years ago in fortran. I have very little experience with this sort of thing but I really only need the code to run. I have all of the source code but I am not sure what to do with any of it. Any help would be greatly appreciated.

Thanks!
 
Technology news on Phys.org

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K