My apologies if this is a silly error, but I am getting an unusual error message for the following code at line 3; the first executable statement:
FTN95/Win32 Ver. 6.35.0 *** Error 799: Compiler failure - unexpected type for tree argument
! program to test
!
integer*4 n
real*8 mb
real*8, allocatable, dimension(:,:) :: a, b, c
!
do n = 100, 2100, 500
!
mb = n*n*3. / (2.**17)
write (*,fmt='(a,i5,f8.2,a)') ' Test ',n, mb,' mb'
allocate ( a(n,n) )
allocate ( b(n,n) )
allocate ( c(n,n) )
write (*,*) 'Align A', mod (loc(a), 32)
write (*,*) 'Align B', mod (loc(b), 32)
write (*,*) 'Align C', mod (loc(c), 32)
!
call Vec_Add_Test (n, a, b)
call Vec_Sub_Test (n, a, b, c)
deallocate ( c )
deallocate ( b )
deallocate ( a )
end do
!
write (*,*) 'End'
end
I can't see what I have done wrong !!
John