Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Debugging issue: viewing array contents

I'll try both the Intel Fortran compiler & the gdb patch.

Thanks for the help.

Don


On 18 October 2010 09:13, Paul BERNARD <paul@xxxxxxxxxxxxx> wrote:
Hi,

the vla patch from Jan works fine (there is some issues but you should try it).

there's a new patch (http://sourceware.org/ml/gdb-patches/2010-09/msg00296.html) that fix multi dimensionnal arrays, but i did not test it and i don't know if it works for dynamic length arrays.

Paul


Le 18/10/2010 10:02, Daniel Harenberg a écrit :
Hi Don,

I can't test it right now, but I am pretty sure the Intel Fortran Compiler and Debugger show that information. For personal (non-commercial non-academic) use you can download the full Linux-version for free on their website.

Best

Daniel


On 10/17/2010 11:03 PM, Don Boogert wrote:

I have a small fortran program which compiles fine and can debug using Photran.

I'm using code similar to the following to allocate a 256 x 256 array of reals:

INTEGER, PARAMETER :: q = SELECTED_REAL_KIND(P = 8, R = 30)
REAL(KIND=q), ALLOCATABLE, DIMENSION(:,:) :: MyArray
ALLOCATE(MyArray(256, 256), STAT=alloc_error)

I am unable to view the contents of MyArray while debugging using Photran. Is this a known limitation or is there a way of viewing the contents of multidimensional arrays?

Many thanks
Don







_______________________________________________ photran mailing list photran@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/photran
_______________________________________________ photran mailing list photran@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/photran

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



Back to the top