Questions tagged [photran]

Photran is an IDE and refactoring tool for Fortran based on Eclipse and the CDT. Photran 9.1 was released with Eclipse 4.5 (Mars) on June 24, 2015. Photran supports Fortran 77-2008.

Photran is part of the Parallel Tools Program (PTP) of the Eclipse Foundation. A makefile is required for Photran to identify which compiler you are using so that the compiler can parse the error messages, since Photran simply calls the compiler and different compilers use different formats for error messages.

References

21 questions
4
votes
2 answers

How to reuse Fortran modules without copying source or creating libraries

I'm having trouble understanding if/how to share code among several Fortran projects without building libraries or duplicating source code. I am using Eclipse/Photran with the Intel compiler (ifort) on a linux system, but I believe I'm having a…
arclight
  • 1,608
  • 1
  • 15
  • 19
3
votes
1 answer

Photran says "At least one configuration should be available. Project cannot be created." when creating a fortran project in eclipse

I downloaded Eclipse for Parallel Application Developers, Kepler version, on my Debian x64 system, as well as gfortran 4.7.2 from the repository. When I open Eclipse, I select File -> New -> Project -> Fortran Project, then select Executable ->…
Michael A
  • 4,391
  • 8
  • 34
  • 61
3
votes
1 answer

Configuring LAPACK in Eclipse-Photran for fortran compiler on Windows

Update Thank you Vladimir for the usefull insights in libraries. I took another approach, developping first in ubuntu (which was a lot easier then messing around with Eclipse/Cygwin/... and now I'm trying to port to windows, which goes rather ok,…
tvandenbrande
  • 348
  • 5
  • 21
2
votes
1 answer

Eclipse Photran doe not compile source codes with capital letter extension

To my understanding from the Photran documentation, if a Fortran source code has an extension with capital letters, such as F90 or F95, this file will be automatically preprocessed when building. But it didn't work for me... If I try to build a…
2
votes
1 answer

Debugging fortran code in Eclipse with Photran and GDB debugger: missing symbols

I have a program, written in fortran90, previously successfully compiled on a compaq compiler and working, that I'm now trying to compile with gfortran. I can compile the code to an .exe and run it. It works fine until a certain point in the routine…
tvandenbrande
  • 348
  • 5
  • 21
2
votes
2 answers

How do I set breakpoints using the Photran IDE in Eclipse?

I know it sounds like a simple question, but trying to create a simple "Hello World!" application and debug with GDB doesn't seem to give me the option of creating breakpoints. Is anybody else seeing this? Is there something I'm missing? There is a…
Neal Kruis
  • 2,055
  • 3
  • 26
  • 49
1
vote
2 answers

Photran editor slow or hangs

I have a fairly large fortran90 project in Photran. I find that sometimes the editor just hangs or is very slow. Saving a file or using ctrl+/ for commenting lines seems to trigger this slowness. Any solutions to this? I do have refactoring turned…
Anu
  • 1,337
  • 1
  • 10
  • 21
1
vote
1 answer

Hide horizontal ruler in Eclipse

How can I hide this horizontal ruler (outlined in red) along the top of my (Fortran) source code? Looks like it might be related to printer settings, but I can't find anything. Using Eclipse Photon Milestone 5 (4.8.0M5) on Ubuntu 17.10.
MasterHD
  • 2,264
  • 1
  • 32
  • 41
1
vote
1 answer

Photran: building with an existing makefile

Kind all, I've received a very messy fortran program which I'm tried to debug: in order to do that I would like to use the debugging features of a IDE to ease the process, an IDE such as Eclipse Photran The program is made by multiple .f90 files…
Mutewinter
  • 241
  • 1
  • 12
1
vote
0 answers

Eclipse Luna + Photran doesn't stop on Breakpoints during debugging

Before this stupid program will explode my head to the 26th time... I have Win 7 Eclipse Luna 4.4.0 Build 20140612-0600 Photran 8.2.1 Cygwin Devel Packages gfortran + make (used) MinGW with g95 (installed but not used because no make.exe) So I…
DDR
  • 459
  • 5
  • 15
1
vote
0 answers

Building Photran project with f2py

I'm trying to set up Photran to build my Fortran project with f2py in order to be able to call my Fortran function from Python (in PyDev, for the record). I've tried to set up an external builder, but this didn't work: Location:…
Paul
  • 4,239
  • 6
  • 28
  • 29
1
vote
4 answers

Using Eclipse for Fortran

I have a brief question here about how to setup Eclipse for Fortran. I have already downloaded "Photran" (the Fortran tool for Eclipse) and installed it. The problem I'm having is that every time I try to run a program I get a message that says…
Ryan Christman
  • 155
  • 4
  • 4
  • 11
0
votes
1 answer

How to Debug Following Fortran Program

I am trying to compile the following software so that I can step through and debug it. I am only a novice programmer and I am trying to understand how this whole makefile business works with Fortran. I know that there is a ton of literature on…
ejang
  • 3,982
  • 8
  • 44
  • 70
0
votes
0 answers

Cannot find lapack library in Photran Eclipse

I have some problems with building a Fortran program on Windows. I use Photran Eclipse with an autogenerated makefile but there are some problems with the lapack library. Lapack packages were installed to Cygwin during the installation. Error…
0
votes
0 answers

Compiling two Fortran programs using Eclipse, duplicate symbol `_main`

I am newbie in Fortran in eclipse. I am trying to create many Fortran source files inside one Fortran source folder (see pic1, ex1.fo8 and ex2.fo8 are my source files in the source folder 'tut'). When I am compiling ex2.f08, I am getting error as…
Manohar
  • 11
  • 3
1
2