Open sscalpone opened 3 years ago
Smaller.
parameter (nx=50, ny=20, n=nx*ny)
real*8, dimension(n,n) :: h
real p
p = 2.0
h(1:n,1:n) = 4.0
h(1:n,1:n) = h(1:n,1:n) / p
end
Or
real*8, dimension(1000,1000) :: h
h(1:1000,1:1000) = 4.0
h(1:1000,1:1000) = h(1:1000,1:1000) / 2.0
end
Eric thinks this has to do with array expressions.
Ping.
Looks like it is trying to allocate a buffer 1,000,000 times too large. Lowering bug.
Assigning this to Val.
After a sequence of fixes, these three tests compile and execute to completion. Similar tests that verify result elements are also ok. A variation of the problem remains with:
subroutine ss4(n)
real aa(1050,n)
aa = aa + 7.0
end