Does anyone know what this error might mean?
FATAL ERROR: variable data clause is partially present on the GPU: name=a
file:C:\test.f line:258
Where the first line here is 258:
!$acc data copyin(a(269893641:337367040), b(53978729:67473408),
!$acc& c(53978729:67473408), d(53978729:67473408),
!$acc& e(53978729:67473408), f(53978729:67473408),
!$acc& g(53978729:67473408)) copy(h(53978729:67473408))
do idx= 1, n
call abc(b(53978729), c(53978729),
$ d(53978729), e(53978729),
$ f(53978729), g(53978729),
$ h(53978729), i(53978729),
$ j(53978729), a(269893641),
$ 13494680, 13494680, 1, 1)
end do
!$acc end data
Where function “abc” calls another function that has a kernels region in it. I do this in other parts of the code with lower regions of these arrays, but it only has trouble with this one which is right at the end of the allocated length of these arrays (a is length 337,367,040 and everything else is length 67,473,408). Sorry about the large numbers.