Hello , I’m back ;-)
I’m now using the last version pgi/19.4
The executable compiled with ‘pgf90 -ta=host,tesla:managed’ ,
are still not working with PGI_ACC_DEVICE_TYPE=HOST
I post the problem 3years ago ( 20 jun 2016 , pgi/16.5 , TPR#22656 )
Simple test
PROGRAM HOST_TESLA_MANAGED
IMPLICIT NONE
REAL , DIMENSION(:), POINTER :: ZTAB
ALLOCATE(ZTAB(1000000))
!$acc kernels copyout(ZTAB)
ZTAB = 10.767867868
!$acc end kernels
print*,'ZTAB=',ZTAB(123456)
END PROGRAM HOST_TESLA_MANAGED
pgf90 -ta=host,tesla:managed host_tesla_managed.f90 -o host_tesla_managed
PGI_ACC_DEVICE_TYPE=HOST host_tesla_managed
Erreur de segmentation (core dumped)
No problem on NVIDIA device ( or on HOST without the managed option )
PGI_ACC_DEVICE_TYPE=NVIDIA host_tesla_managed
ZTAB= 10.76787
Bye Juan