On Wed, 21 Apr 2004, Malcolm J. Currie wrote:
> > print array(2)
>
> I see a segmentation violation on those.
You will, if the array isn't dimensioned correctly.
> > should also work. For real power on dummy Fortran arrays you need to
> > switch languages:
> >
> > real array(1)
> > set lang c
> > print array[0]@2
> >
> > prints the first 2 elements. Forget multidimension arrays, no idea if that
> > works. The *right* way must be to use properly dimension arrays in the
> > first place!
>
> There ought to be some documentation on Fortran usage. When I first
> tried ddd to sort out EMLT it threw me for a while that I couldn't
> access subroutines, then I guessed appending an underscore.
>
> Are there Fortran-friendly visual debuggers out there for Linux?
> Having one is essential for debugging dusty-deck Figaro code.
Fortran is too much of a backwater for GNU/Linux, so tough and no to these
questions. If you want good support you'll need to head back to Solaris
and s/w we pay for.
Did the "print array[0]@2" technique work for you?
Peter.
|