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

Discussion Overview

The discussion centers around using Fortran programming in a Linux environment, specifically addressing the transition from Windows to Linux for programming tasks. Participants explore various tools, editors, and compilers available for Fortran on Linux, as well as their experiences and recommendations.

Discussion Character

  • Technical explanation, Conceptual clarification, Homework-related

Main Points Raised

  • One participant expresses confusion about programming in Fortran on Linux after transitioning from Windows, seeking guidance on available tools and environments.
  • Another participant recommends using the VI editor with syntax highlighting and the g95 compiler, noting the potential need for Make to build executables.
  • Additional suggestions include using IDEs such as SunStudio, Anjuta, Geany, and KDevelop, which may offer enhanced coding experiences with code highlighting features.
  • One participant reiterates the use of VI and g95, emphasizing that while there are better compilers for high-performance computing (HPC), g95 is suitable for classwork.

Areas of Agreement / Disagreement

Participants generally agree on the use of specific tools like VI and g95, but there are multiple suggestions for IDEs and compilers, indicating a variety of preferences and experiences without a clear consensus on the best approach.

Contextual Notes

Some limitations include the lack of detailed explanations on how to set up the recommended tools and the assumption that participants are familiar with basic Linux operations.

Who May Find This Useful

Individuals transitioning from Windows to Linux for Fortran programming, students seeking guidance on programming tools, and those interested in exploring different development environments for Fortran.

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
5K
  • · 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