Re: need suggestions on Fortran editor in Linux
- From: ajmf77 <ajmf77@xxxxxxxxx>
- Date: Wed, 13 Feb 2008 07:10:35 -0800 (PST)
On 12 feb, 09:42, ajmf77 <ajm...@xxxxxxxxx> wrote:
On Feb 12, 8:57 am, relaxmike <michael.bau...@xxxxxxxxx> wrote:
Hi Jun,
From all available fortran editors, not all are available both on
Windows
and on Linux. As you said, Visual Fortran works fine under windows,
but when
you have to use Linux, another choice is to be made.
The following are the editors that I know which you can use both
under
Windows and under Linux.
- Eclipse / Photran (http://www.eclipse.org/photran)
- Jedit (http://www.jedit.org)
- Understand for Fortran (http://www.scitools.com)
- Yapakit (http://pagesperso-orange.fr/yapakit.fortran)
- Emacs or Xemacs (http://www.xemacs.org)
- Absoft IDE (http://www.absoft.com/Absoft_IDE.htm)
- Vi, Gvim
- Nedit (http://nl.nedit.org)
But be aware that there is a huge gap between a fortran-aware editor
(Jedit, Emacs, Xemacs, Vi, Gvim, Nedit) and a fortran development
tool
(Eclipse/Photran, Understand for Fortran, Yapakit, Absoft IDE).
Fortran
editors only provide syntax highlighting and so on, which is short if
you have to manage a large fortran project. Fortran development tools
allows to navigate into the source, manage Makefiles, manage CVS/SNV,
debug, etc... The later tools increase the productivity and make the
development process more easy (and fun sometime !). The reason why
there
is less real fortran development tools is that including syntax-
highliting, templates, etc... is very easy while developing a tool to
navigate into the source, handle dependencies, etc is far more
complicated but really useful in practical situations (in particular,
in forces to develop a fortran parser and to manage the hierarchical
links between subroutines, functions, modules,etc...).
For example, Yapakit provides a tool to know all subroutines which
call a given subroutine (hierarchical call) or all fortran 90 modules
used by a given module. With simple fortran editors (Emacs for
example),
this task is accomplished with a combination of "grep" and "find"
Linux commands, sometimes
piped, which works, but is more complicated and slower. Understand for
fortran includes
a tool to display all variables used in the project (and where they
are used).
Absoft IDE allows to manage Makefiles. Eclipse integrates a SVN plugin
which
allow to update your files from a repository.
Emacs / Xemacs is special in the category of editors because it
includes
the Etags system which allows to navigate into the source and supports
Makefiles
compiling (but does not generate them). But the graphical library used
in Emacs / Xemacs is now obsolete (that is to say limited) compared
to
what Java offers to Eclipse for example (the development of Emacs
started long
before Java existed of course !).
Notice also that not all these tools are free.
If you want to have a real development tool, free and portable, there
is very
few possibilities indeed and the list becomes shorter.
Understand for fortran, Absoft IDE are not free
while Eclipse, Jedit, Yapakit, Emacs, Xemacs, vi, gvim are free.
Visual Fortran integrates an interactive debugger which is very
convenient.
Considering the available debuggers available under Linux,
there are two layers of debuggers : command-line and GUI.
The command-line debugger gdb is powerful (and free !) but lacks of a
GUI.
The following are GUI debuggers for fortran :
- Totalview (http://www.totalviewtech.com/index.htm)
- DDT (http://www.allinea.com/)
- Eclipse includes a front-end for gdb
- Insight (http://sourceware.org/insight)
Totalview and DDT can handle parallel debug, but are not free.
To my knowledge, Insight is released in source form so that you have
to
compile it by yourself.
The Eclipse front-end for gdb is useful, but gdb lacks of support
for fortran 90, so that you cannot explore derived-types (which is a
real
pain in fact).
I hope that it will help you to make your choice.
Best regards,
Michaël
On 9 fév, 04:43, jun wen <jwen....@xxxxxxxxx> wrote:
Hi, all
I just started learning to write Fortran codes in Linux. Before I used
the Compaq visual Fortran, which seems to be a nice editor. But now I
have to use the SSH to login into the server and it seems to be
totally different from the GUI-based editor in Windows. So I badly
need some advice on a good editor to speed up the writing the code and
debugging.
Thank you.
Andy
Hi:
Another good editor (for Win32/Linux) is Scite (www.scite.org), with
Fortran and many others language extensions. His config file are
preconfigured with LF95, but you can change it easily
Sorry, SciTe site actually is : www.scintilla.org, home of the
scintilla lib for GTK+
.
- References:
- need suggestions on Fortran editor in Linux
- From: jun wen
- Re: need suggestions on Fortran editor in Linux
- From: relaxmike
- Re: need suggestions on Fortran editor in Linux
- From: ajmf77
- need suggestions on Fortran editor in Linux
- Prev by Date: integer overflow
- Next by Date: Re: beginner question about exit values
- Previous by thread: Re: need suggestions on Fortran editor in Linux
- Next by thread: Re: System call from FORTRAN
- Index(es):
Relevant Pages
|
|