For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2005 > Which programming environment is better?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Which programming environment is better?
Ying Zu

2005-05-11, 8:57 am

I'm currently using Emacs+gdb as my integrated fortran editor and
debugger.
Recently I heard from someone that ECB plugin for emacs is pretty good
and I'm no sure whether it is suit for Fortran.
Then what about eclipse and Photran or anything else?
Show me your choise plz, thx
:)
Yongtao Yang

2005-05-11, 8:57 am

>>>>> "Ying" == Ying Zu <nye@shao.ac.cn> writes:

Ying> I'm currently using Emacs+gdb as my integrated fortran editor and
Ying> debugger.

Way to go.

Ying> Recently I heard from someone that ECB plugin for emacs is pretty good
Ying> and I'm no sure whether it is suit for Fortran.

Slow, buggy and virtually no support for fortran at all.

Ying> Then what about eclipse and Photran or anything else?

no idea.

Ying> Show me your choise plz, thx
Ying> :)

Stay with the one you are using now, I do understand that grass is
always greener on the other side of river. :)

HTH

--
Yongtao Yang

email: yangyongtao@yahoo.com

FCC

2005-05-11, 8:57 am

Ying Zu articulated on 5/11/2005 11:02 AM:

>I'm currently using Emacs+gdb as my integrated fortran editor and
>debugger.
>Recently I heard from someone that ECB plugin for emacs is pretty good
>and I'm no sure whether it is suit for Fortran.
>Then what about eclipse and Photran or anything else?
>Show me your choise plz, thx
>:)
>
>

If you are using Fortran 9x, gdb may not be the best debugger to use.
This will apparently change soon due to rapid developments in g95 and
gfortran, but untill then, C/D/IVF will keep ruling the debugger world
under Windows, and under Linux I don't think you have tools to debug
Fortran 9x code as effectively.

--
FCC.
===

He who talks too much commits a sin.

-Anonymous
FCC

2005-05-11, 8:57 am

Ying Zu articulated on 5/11/2005 11:02 AM:

>I'm currently using Emacs+gdb as my integrated fortran editor and
>debugger.
>Recently I heard from someone that ECB plugin for emacs is pretty good
>and I'm no sure whether it is suit for Fortran.
>Then what about eclipse and Photran or anything else?
>Show me your choise plz, thx
>:)
>
>

If you are using Fortran 9x, gdb may not be the best debugger to use.
This will apparently change soon due to rapid developments in g95 and
gfortran, but untill then, C/DVF will keep ruling the debugger world
under Windows, and under Linux I don't think you have tools to debug
Fortran 9x code as effectively.

However, I gave a shot to Eclipse and photran under Linux and they
seemed to work OK, though not as effectively as C/DVF under Windows (for
example some symbols do not have any debug info so their values cannot
be seen, and arrays may have confusing debug info which makes it
difficult to easily see the values).

--
FCC.
===
He who talks too much commits a sin.
-Anonymous
FCC

2005-05-11, 8:57 am

Ying Zu articulated on 5/11/2005 11:02 AM:

>I'm currently using Emacs+gdb as my integrated fortran editor and
>debugger.
>Recently I heard from someone that ECB plugin for emacs is pretty good
>and I'm no sure whether it is suit for Fortran.
>Then what about eclipse and Photran or anything else?
>Show me your choise plz, thx
>:)
>
>

If you are using Fortran 9x, gdb may not be the best debugger to use.
This will apparently change soon due to rapid developments in g95 and
gfortran, but until then, C/DVF will keep ruling the debugger world
under Windows, and under Linux I don't think you have tools to debug
Fortran 9x code as effectively.

However, I gave a shot to Eclipse and photran under Linux and they
seemed to work OK, though not as effectively as C/DVF under Windows (for
example some symbols do not have any debug info so their values cannot
be seen, and arrays may have confusing debug info which makes it
difficult to see the values).

--
FCC.
===
He who talks too much commits a sin.
-Anonymous
Helge Avlesen

2005-05-11, 4:00 pm

FCC <fccaner@REMOVEMEgmail.com> writes:

> and under Linux I don't think you have tools to debug Fortran 9x
> code as effectively.


you can think as much as you like on this issue, it will not change
the fact that there are actually several very capable Fortran 9x
debuggers for linux. you can even point and click in some of
them. ever heard of totalview?

Helge
FCC

2005-05-11, 4:00 pm

Helge Avlesen articulated on 5/11/2005 2:02 PM:

>FCC <fccaner@REMOVEMEgmail.com> writes:
>
>
>
>
>you can think as much as you like on this issue, it will not change
>the fact that there are actually several very capable Fortran 9x
>debuggers for linux. you can even point and click in some of
>them. ever heard of totalview?
>
>Helge
>
>

No, I have not. I like to use Linux, despite the fact that I cannot
debug Fortran 9x programs. In my experience, most often the problem is
not the IDE but the debug information generated by compilers, which can
be lacking compared to those under Windows. Or may be I am not talented
enough to be able to use these debuggers under Linux ? If it is so, may
be this is because I don't have a degree in Computer Science although I
have several papers in renowned journals in the field of Mechanics of
Materials.

--
FCC.

===
The greatest good you can do for another is not just to share your
riches but to reveal to him his own.
-Benjamin Disraeli.
Helge Avlesen

2005-05-11, 4:00 pm

FCC <fccaner@REMOVEMEgmail.com> writes:

> No, I have not. I like to use Linux, despite the fact that I cannot
> debug Fortran 9x programs. In my experience, most often the problem is
> not the IDE but the debug information generated by compilers, which can
> be lacking compared to those under Windows.


it sounds to me that you are thinking about gdb, which I agree lacks
easy to use support for Fortran. It took many years before you could
get the value of common block variables in g77 without ugly tricks, so
I dont expect it to happen very soon in g95/gfortran. I guess it is a
non trivial task, and there are very few people that actually have the
time and skill to hack on these things unfortunately.

all vendor compilers I have used, however, e.g. Intel, Portland,
Pathscale, provide command line debuggers that more or less fully
support Fortran 9x features.

Helge
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com