Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

Watch allocatable user defined type in module

guido_lombardi
Beginner
823 Views
I read some of the posts but I did not find the answer to my question.
I have problems watching allocatable user defined type arrays by watch window and I do not know how to investigate the values except printing.
Does someone find a solution?
More details:
I have a module like this:
MODULE Tentative
TYPE VectorType
REAL :: x, y, z
END TYPE VectorType
TYPE(VectorType), ALLOCATABLE :: var

SUBROUTINE trying()
IMPLICIT NONE; SAVE
READ(UnitDat,*,ERR=991) NN
ALLOCATE(var(NN))
var(1)%X=11.0E+00
In the watch window I have tried to type Tentative::var(1)%X but I get unreasonable values like 4.667..E-39 but if I print var(1)%X from the main procedure I get the right value.
Thanks for the helps,
Guido

Message Edited by guido.lombardi@polito.it on 09-30-2004 02:27 AM

Message Edited by guido.lombardi@polito.it on 09-30-2004 02:51 AM

0 Kudos
5 Replies
Jugoslav_Dujic
Valued Contributor II
823 Views
This is (I believe acknowledged) bug in IVF debugger, which has been thoroughly discussed here recently. There's no (sensible) workaround I know of (except using print statements, or using a temporary scalar variable of type(xyz)and copy the contents into it -- none of which is particularly appealing).
Jugoslav
0 Kudos
guido_lombardi
Beginner
823 Views
Does Intel recognize this IVF bug?
I am using IVF 8 under Microsoft VS.NET 2003
0 Kudos
Steven_L_Intel1
Employee
823 Views
Yes, it is being investigated.
0 Kudos
guido_lombardi
Beginner
823 Views
So... Doesa solution exist?
or the only way it works is todowngrade my new pc to Compaq VF 6.6C?
Guido

Message Edited by guido.lombardi@polito.it on 09-30-2004 09:39 AM

0 Kudos
Steven_L_Intel1
Employee
823 Views
I don't know of a workaround - sorry.
0 Kudos
Reply