Learn Fortran in Linux: Step-by-Step Guide

  • Context: Fortran 
  • Thread starter Thread starter marden
  • Start date Start date
  • Tags Tags
    Fortran Linux
Click For Summary
SUMMARY

This discussion focuses on programming in Fortran on Linux, specifically using the g95 compiler and VI editor. The user Marden transitioned from Windows to Mandriva Linux and sought guidance on available tools for Fortran development. Key recommendations include using the g95 compiler, the VI editor for code editing, and the Make utility for building executables. Additional IDE options mentioned are SunStudio, Anjuta, Geany, and KDevelop, which provide enhanced coding environments.

PREREQUISITES
  • Basic understanding of Fortran programming language
  • Familiarity with Linux operating systems
  • Knowledge of command-line interface usage
  • Experience with text editors, particularly VI or similar tools
NEXT STEPS
  • Research installation and usage of g95 Fortran compiler on Linux
  • Learn how to use the VI editor for coding with syntax highlighting
  • Explore the Make utility for building and managing Fortran projects
  • Investigate IDE options like SunStudio, Anjuta, Geany, and KDevelop for enhanced development experience
USEFUL FOR

This discussion is beneficial for students transitioning from Windows to Linux who are learning Fortran, as well as developers seeking effective tools for Fortran programming in a Linux environment.

marden
Messages
2
Reaction score
0
Hello,

I used to do schoolwork in Fortran (Compaq Windows version).
Couple weeks ago I decided to say "good-bye" to Windows and installed Mandriva Linux.

But now I'm quiet confused how program work in work. I see that nolonger I don't have beautiful white window to write program text or..?
Does anyone who explain to me how Fortran work in Linux. Which free or not-free Fortran program does exist? Where I write the program text and so on...I feel very miserable

Best wishes,
Marden in Estonia
 
Technology news on Phys.org
I personally use VI editor (which supports syntax highlighting) and g95, which is a free, open-source compiler. You might also need Make, which is a utility which can help build the executable.
 
If you want a cool looking free IDE to work on your code might want to try SunStudio, Anjuta, Geany, KDevelop for example. And most text editing tools in Linux have code highlighting properties.
 
minger said:
I personally use VI editor (which supports syntax highlighting) and g95, which is a free, open-source compiler. You might also need Make, which is a utility which can help build the executable.

This is my advice. If you were doing HPC stuff, there are better compilers but for classwork this is your best bet. Free and effective.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
71K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K