Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Compilator Fortran
I'd like to have a Fortran Compiler to do debug and to execute one code line
at time and to watch tha variable value.

Do you know free compiler?

TNX



Report this thread to moderator Post Follow-up to this message
Old Post
Ciobin
06-02-05 08:58 PM


Re: Compilator Fortran
For the Windows Platform at least:
The Salford Windowed Debugger allows what you want - stepping one line
at a time, or setting breakpoints, and at each break point (or stop line)
one can display any variables, including matrices. Those variable values
that are undefined are flagged as value "????????". This is a very powerful
debugging tool.

Get the (free for non-commercial purposes) Personal edition of FTN95 at:
http://www.silverfrost.com/32/ftn95...nal_edition.asp
or at
http://www.polyhedron.co.uk/salford...5_personal.html

Others can comment on compiler/windowed debugger options under Linux.

Skip Knoble

On Thu, 02 Jun 2005 17:00:20 GMT, "Ciobin" <lingo74@forzaferrari-libero.it> 
wrote:

-|I'd like to have a Fortran Compiler to do debug and to execute one code li
ne
-|at time and to watch tha variable value.
-|
-|Do you know free compiler?
-|
-|TNX
-|


Report this thread to moderator Post Follow-up to this message
Old Post
Herman D. Knoble
06-02-05 08:58 PM


Re: Compilator Fortran
"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messaggio
 news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo@
4ax.com...
> For the Windows Platform at least:
> The Salford Windowed Debugger allows what you want - stepping one line
> at a time, or setting breakpoints, and at each break point (or stop line)
> one can display any variables, including matrices. Those variable values
> that are undefined are flagged as value "????????". This is a very
powerful
> debugging tool.
>
> Get the (free for non-commercial purposes) Personal edition of FTN95 at:
> http://www.silverfrost.com/32/ftn95...nal_edition.asp
> or at
> http://www.polyhedron.co.uk/salford...5_personal.html
>
TNX !!!!

Has it a GUI?



Report this thread to moderator Post Follow-up to this message
Old Post
Ciobin
06-02-05 08:58 PM


Re: Compilator Fortran
Yes, the Windowed Debugger is the GUI, if that's what you mean.
If you mean the running proggram producing windows, it has Clear Win+
which includes a tutorial.

Skip

On Thu, 02 Jun 2005 18:06:40 GMT, "Ciobin" <lingo74@forzaferrari-libero.it> 
wrote:

-|
-|"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messagg
io
- |news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo
@4ax.com...
-|> For the Windows Platform at least:
-|> The Salford Windowed Debugger allows what you want - stepping one line
-|> at a time, or setting breakpoints, and at each break point (or stop line
)
-|> one can display any variables, including matrices. Those variable values
-|> that are undefined are flagged as value "????????". This is a very
-|powerful
-|> debugging tool.
-|>
-|> Get the (free for non-commercial purposes) Personal edition of FTN95 at:
-|> http://www.silverfrost.com/32/ftn95...nal_edition.asp
-|> or at
-|> http://www.polyhedron.co.uk/salford...5_personal.html
-|>
-|TNX !!!!
-|
-|Has it a GUI?
-|


Report this thread to moderator Post Follow-up to this message
Old Post
Herman D. Knoble
06-03-05 01:58 AM


Re: Compilator Fortran
Ciobin:  Sorry that I missed what you mean. Salford FTN95 does not have
a Visual Studio-like GUI. To facilitate compilation for the Windowed Debugge
r
(sdbg.exe), the easiest way I've found to effect a debug compile is to
make a short .BAT file invoking FTN95 with the debug options. E.g.,

@Echo off
REM This tells the compiled code to stop when an underflow occurs.
set salfenvar=trap_underflows
REM Invoke the compiler with debug options
FTN95 %1.F90 /LIST /NO_OFFSETS /DEBUG /CHECK /UNDEF /FULL_DEBUG
if errorlevel 1 GoTo Done
slink %1.obj
if errorlevel 1 GoTo Done

REM Set your own sourcepath for the debugger.
set sourcepath=c:\hdk\fortex\test
REM Invoke the debugger if compile and link went ok.
start wsdbg %1
:Done
set salfenvar=
set sourcepath=

This will compile, link, and invoke the windowed debugger. At that debugger
screen, you can either click "Run" to run to completion or to the first erro
r;
or you can click "Step Into" to run a line at a time.

If you are compiling all or many f90 modules from a specific subdirectory, t
hen
run the batch with argument with a wild card argument; e.g., *
would compile (and link) *.f90 .

Skip

On Thu, 02 Jun 2005 18:06:40 GMT, "Ciobin" <lingo74@forzaferrari-libero.it> 
wrote:

-|
-|"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messagg
io
- |news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo
@4ax.com...
-|> For the Windows Platform at least:
-|> The Salford Windowed Debugger allows what you want - stepping one line
-|> at a time, or setting breakpoints, and at each break point (or stop line
)
-|> one can display any variables, including matrices. Those variable values
-|> that are undefined are flagged as value "????????". This is a very
-|powerful
-|> debugging tool.
-|>
-|> Get the (free for non-commercial purposes) Personal edition of FTN95 at:
-|> http://www.silverfrost.com/32/ftn95...nal_edition.asp
-|> or at
-|> http://www.polyhedron.co.uk/salford...5_personal.html
-|>
-|TNX !!!!
-|
-|Has it a GUI?
-|


Report this thread to moderator Post Follow-up to this message
Old Post
Herman D. Knoble
06-03-05 01:58 AM


Re: Compilator Fortran
Ciobin wrote:

> I'd like to have a Fortran Compiler to do debug and to execute one code li
ne
> at time and to watch tha variable value.
>
> Do you know free compiler?
>
> TNX
>
>
Photran is a GUI development environment with a
debugger that is not yet great, but certainly
does simple things like you ask for. It works
with compilers g95 and gfortran and F.

All of these are free (and available on a CD
for a modest price).

Information and links for all this at fortran.com.

--
Walt Brainerd         +1-877-355-6640 (voice & fax)
The Fortran Company   +1-520-760-1397 (outside USA)
6025 N. Wilmot Road   walt@fortran.com
Tucson, AZ 85750 USA  http://www.fortran.com

Report this thread to moderator Post Follow-up to this message
Old Post
Walt Brainerd
06-03-05 01:58 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:43 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.