Install Fortran IDE GUI Photran

Photran is a Fortran IDE GUI based on Eclipse. Photran works with gfortran or Intel ifort compilers.

Install Photran

Note: the Eclipse version obtained via apt install is usually much too old.

  1. Download and install the current Eclipse version. In this example, “Oxygen” (Eclipse 4.6) was used.
  2. Extract and run the Eclipse installer (no sudo needed)

    tar xf eclipse-inst-linux64.tar.gz
  3. Select “Eclipse for Parallel Application Developers”. It will install into ~/eclipse/parallel-oxygen.

  4. add t ~/.bash_aliases the line

    alias eclipse="$HOME/eclipse/parallel-oxygen/eclipse/eclipse"
  5. If using Intel Fortran compiler ifort, you will need to execute:

    . ~/intel/bin/ intel64
  6. Open a new Terminal. Type eclipse to open the Eclipse IDE.

  7. From Eclipse IDE, click Help→Install New Software

  8. in “work with” pick your currently installed version (here, Oxygen)

  9. Uncheck the “hide items that are already installed”

  10. Type “fortran” in the search box, and select under Programming Language → “Fortran Development Tools (Photran)” and “Linux Intel Fortran Compiler Support”