For Programmers: Free Programming Magazines  


Home > Archive > Fortran > December 2005 > Has someone met such problem when using the newest version of intel fortran compilier









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Has someone met such problem when using the newest version of intel fortran compilier
drill deep silent

2005-12-30, 1:35 am

I am using the newest version of intel visual fortran for programming recently. And I met a strang problem when compiling the following code.

code 1:

program Console4
implicit none

integer, parameter::N_a = 10
real::Array_a(N_a)

Array_a(1:N_a-1) = 0

end program Console4

The error message is " **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. " I have tried replacing the above code with the following one:

code 2:

program Console4
implicit none

integer, parameter::N_a=10
integer:: temp_N
real::Array_a(N_a)

temp_N = N_a -1
Array_a(1:temp_N) = 0

end program Console4

and then the compiling is ok. But the first code can be successfully compilied with other versions of intel fortran and Compaq visual fortran. Could anyone answer me, I'd be very thankful.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com