Fortran Fortran 90 installation assistance

Click For Summary
SUMMARY

This discussion focuses on installing Fortran 90 on a MacBook Pro for a Physics B.Sc. course. The recommended solution is to use the gfortran compiler, which is part of the GNU Fortran 95 suite, available for free at http://hpc.sourceforge.net/. Users can utilize the Plato IDE for a user-friendly experience, or Eclipse with the Photran plugin for editing and managing Fortran projects. Additionally, integrating Maven can enhance project portability and dependency management.

PREREQUISITES
  • Basic understanding of Fortran programming language
  • Familiarity with GNU Fortran 95 compiler (gfortran)
  • Knowledge of Integrated Development Environments (IDEs) like Plato and Eclipse
  • Understanding of Maven for project management
NEXT STEPS
  • Install gfortran from http://hpc.sourceforge.net/
  • Download and set up Plato IDE for Fortran development
  • Explore Eclipse with the Photran plugin for Fortran project management
  • Learn how to configure Maven for Fortran projects
USEFUL FOR

This discussion is beneficial for students and developers working with Fortran, particularly those in academic settings or anyone seeking to set up a Fortran development environment on macOS.

SalfordPhysics
Messages
68
Reaction score
1
Like so many before, I have a unit over the next year using Fortran 90 as part of my Physics B.Sc.

In advance, I'd like to get it up an running on my MacBook Pro, but having read various threads over the internet I'm not so sure on what to do. I don't want to pay a penny, but if it is the only option then it will have to be done.

Is there an equivalent to eclipse for java that I need... can eclipse do this... am I barking up the wrong tree?
Any assistance or good re-direction will be very much appreciated.

Thanks.
 
Technology news on Phys.org
I use plato IDE. It's very useful. In addition to fortran, it does support other pro languages such as C\C++ ,java and so on. It is free and you can download it from the internet.
 
Eclipse supports FORTRAN 77 with Photran plugin package:

http://www.eclipse.org/photran/

You might be able to use it to edit and manage your project as a maven project so that maven builds it with the correct fortran compiler and libraries.

http://blog.bigpixel.ro/2012/07/building-cc-applications-with-maven/

The NAR plugin supports C/C++ and FORTRAN maven projects.

Its definitely worthwhile to consider maven as it makes your project very portable between machines and developers as maven handles the dependencies and plugins if the project pom.ml is properly written.

You could also look at a gedit (or vim or sublime) + maven combo as these editors will display your code in syntax colorized format.

http://fortranwiki.org/fortran/show/Source+code+editors
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 18 ·
Replies
18
Views
17K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
8K