fortran arrays and gdb
- From: icksa1@xxxxxxxxx
- Date: 13 Oct 2006 10:20:00 -0700
Hi:
I'm trying to use gdb to debug a fortran code and am having trouble
printing array information. If I dynamically allocate a 3d array, for
example:
real :: a(mdx,mdy,mdz)
and I try to use gdb, I get the following messages:
(gdb) print a(1,1,1)
Wrong number of subscripts
(gdb) print a
$14 = (PTR TO -> ( real*8 (0:-1))) 0x99ccf10
So, how do I do this? If gdb can't do it is there a free fortran
debugger that is any better?
Thanks
.
- Follow-Ups:
- Re: fortran arrays and gdb
- From: Elijah Cardon
- Re: fortran arrays and gdb
- Prev by Date: Re: Allocatables in derived types and functions
- Next by Date: Re: Standard query: Bounds of allocatable components from derived-type constructors?
- Previous by thread: Disk from book
- Next by thread: Re: fortran arrays and gdb
- Index(es):
Relevant Pages
|