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

CONTAINS- subroutines

ismail
Beginner
598 Views
hi all,
i'm using IVF and i got this strange problem. actually when i was using the same code in compaq fortran, there was not any problem. the problem is when i use the CONTIANS statement and add subroutines after it, the debugging information for any variable or array are not displayed at all. anytime i try to view the value of any varibale or array in the debug mode in any subroutine under the contains statement, it does not display anything.
Would apperciate it if any body can help. actually i'm in a bad need for it as i implemented many code in compaq fortran this way.
thank you guys,
ismail
0 Kudos
3 Replies
Steven_L_Intel1
Employee
598 Views
I suggest you make sure you are using the latest version of the compiler and IDE integration. The current install is w_fc_c_9.0.028. We have fixed a lot of issues related to debugging and some more are coming in a future update.

If the problem persists, please send an example to Intel Premier Support.
0 Kudos
ismail
Beginner
598 Views

Hi Steve,

I did download the last update but the problem is still.

tell me please how i can send my example to Intel Premier Support.

anyway it does not differ much from the following, so try to complie this and try to watch the values of the array (a);

program test

implicit none

PARAMETER L=1000 !0000

REAL*8,ALLOCATABLE:: a(:)

ALLOCATE(a(1:L))

do i=2,L

a(i) = a(i-1)+atan(a(i)*a(i))

call tryout

enddo

contains

subroutine tryout

a(i)=a(i)*2

end subroutine try

end program Parallel

0 Kudos
Steven_L_Intel1
Employee
598 Views
Read the first two items here or read the text in the Release Notes about submitting issues.

I tried your program, once I fixed the errors, using a new, not yet released version of the debugger support. It could track the array A in the contained routine fine, but the variable I was not so lucky. I'll let the developers know about that.
0 Kudos
Reply