- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a problem when I reun a this code under debug. It complains :
forrtl: severe (408): fort: (7): Attempt to use pointer X when it is not associa
ted with a target
It 'sees' x as an undefined variable with a mouseover. The debugger 'sees'the array passedas the x postion parameter properly before the call as an array dimensioned to 10.
call GaussQuadLegendre(mc_zero,delt,mazinisin_num_steps_gaussquad, gaussquad_abscissa,gaussquad_weights) subroutine GaussQuadLegendre(x1,x2,n, x,w)
INTEGER(ik), intent(in) :: n
REAL(rk), INTENT(IN) :: x1,x2
REAL(rk), DIMENSION(:), INTENT(OUT) :: x,w
REAL(rk) :: xl,xm
REAL(rk), DIMENSION((size(x)+1)/2) :: p1,p2,p3,pp,z,z1
INTEGER(ik) :: its,j,m
...
x(1:m) = xm-xl*z !<<<<<<<<<<<<<<<<<<,,, x is 'undefined'according to debugger
x(n:n-m+1:-1) = xm+xl*z
w(1:m) = mc_two*xl/((mc_one-z**2)*pp**2)
w(n:n-m+1:-1) = w(1:m)
endsubroutine GaussQuadLegendre
Any ideas?
Dave
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try the current 10.1.021 compiler (rebuild the application) and see if this error still occurs. If it does, please report it to Intel Support and attach a small (if possible) test case that shows the problem. Please also provide the link to this forum post so support knows it came from the forum.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page