From: Robert Myers on 10 Jul 2010 13:19 Hello, The posts on this group discussing an IDE for Fortran on Linux are all more than a few years old, if Google groups search isn't lying to me. Eclipse is the up-and-coming IDE, and there is even a Fortran plugin (Photran) for it. Not only that, Intel has written an adaptation for its Fortran compiler and donated it to the Photran project. So far, so good. As with most GUI's, everything that is supposed to be intuitively obvious on Eclipse has been mostly a mystery to me, with many missteps even to learn how to use it with the c plugin (cdt) for Eclipse. To try to minimize similar bumbling with the Intel Fortran compiler (which otherwise I like very much), I've poked around a bit as to what people are using for a Fortran IDE, and in particular ifort, under Linux. What I have read is not encouraging, with one discussion thread ending in, "Have you tried to use EMACS?" One problem is that Real FORTRAN Programmers [tm] do not use IDE's. Maybe, since I was at least once a Real FORTRAN Programmer [tm], I'll end up going the same route. For the moment, though, I'd like to find out if anyone has anything encouraging to say about a Linux IDE for Fortran that doesn't exclusively use the gcc toolchain. Robert.
From: Philipp E. Weidmann on 10 Jul 2010 14:51 Robert Myers wrote: > Hello, > > The posts on this group discussing an IDE for Fortran on Linux are all > more than a few years old, if Google groups search isn't lying to me. > > Eclipse is the up-and-coming IDE, and there is even a Fortran plugin > (Photran) for it. Not only that, Intel has written an adaptation for its > Fortran compiler and donated it to the Photran project. > > So far, so good. As with most GUI's, everything that is supposed to be > intuitively obvious on Eclipse has been mostly a mystery to me, with > many missteps even to learn how to use it with the c plugin (cdt) for > Eclipse. > > To try to minimize similar bumbling with the Intel Fortran compiler > (which otherwise I like very much), I've poked around a bit as to what > people are using for a Fortran IDE, and in particular ifort, under Linux. > > What I have read is not encouraging, with one discussion thread ending > in, "Have you tried to use EMACS?" > > One problem is that Real FORTRAN Programmers [tm] do not use IDE's. > Maybe, since I was at least once a Real FORTRAN Programmer [tm], I'll > end up going the same route. For the moment, though, I'd like to find > out if anyone has anything encouraging to say about a Linux IDE for > Fortran that doesn't exclusively use the gcc toolchain. > > Robert. I use Eclipse/Photran on Linux and find it quite usable, once you get through the setup which can be complex. Anjuta can be used with almost any compiler if configured properly. Incidentially, I also believe that Visual Studio runs on Linux with WINE, so you might be able to use the Intel Visual Fortran IDE (which is based on VS) with ifort, which works extremely well and is highly intuitive. -- -- Philipp Emanuel Weidmann
From: mariano mendez on 10 Jul 2010 17:40 Hi, my name is Mariano Mendez from Universidad Nacional de La Llata, Argentina. I'm working on Photran project developing refactorings for Fortran. I setup a web site www.fortranrefactoring.com.ar with a catalog of these refactorings and a detailed description of it is shown. I am interested in upgrading old fortran source code and in refactorings for Fortran. I apreciate every comment on this subject. Now, I'm working on : - Change Fixed-format to Free-Format refactoring: Allowing programmers to change old fixed format files to free format . - Standarizing Iinput / Output : remove all format statement and replacing it with character(len),parameter FmtString replacing all format labels with format string.
From: Lurkos on 10 Jul 2010 19:10 *Philipp E. Weidmann* wrote: > I use Eclipse/Photran on Linux and find it quite usable, once you get > through the setup which can be complex. About one year ago I tried to setup Eclipse/Photran to have an IDE to work with one Fortran project. Even if I used GFortran (which probably is easier to setup), I couldn't find any guide that describes how to use Eclipse for Fortran projects. I have to admit that I never used Eclipse before. Do you have any useful suggestion guide/howto/book for Eclipse and Photran? -- Lurkos
From: Philipp E. Weidmann on 11 Jul 2010 01:32
Lurkos wrote: > About one year ago I tried to setup Eclipse/Photran to have an IDE to > work with one Fortran project. Even if I used GFortran (which probably > is easier to setup), I couldn't find any guide that describes how to > use Eclipse for Fortran projects. > I have to admit that I never used Eclipse before. Do you have any useful > suggestion guide/howto/book for Eclipse and Photran? > Well, as you probably know, the Photran installation guide and documentation is at http://wiki.eclipse.org/PTP/photran/documentation/photran6. I strongly recommend using the procedure described under "Installing on a Machine With Internet Access". Once Photran is installed, all you need to do is create a new Fortran project, add files to it using the source tree and hit Ctrl+B (Build All). This should create your executable, at least with gfortran. For existing projects not created using Eclipse, you can also try setting up a Makefile project. This way, you can use your existing makefile, with special modifications (and different compilers!) of your choice. One thing that you must take care of with Eclipse is that you are using the right *perspective* (Fortran / Debug) when editing code. Perspectives are perhaps the single concept about Eclipse that is not entirely intuitive at first glance; you can read about the Fortran perspective at http://wiki.eclipse.org/PTP/photran/documentation/photran6#The_Fortran_Perspective. Cheers! -- -- Philipp Emanuel Weidmann |