segmentation fault

Hi Mat,
I copied your corrected example and compiled. Unfortunately, I still have “Segmentation fault”. Perhaps it is because of my compilation:

export CUDA_HOME=/usr/local/cuda-6.0

pgfortran test.f90 -L$CUDA_HOME/lib64 -lcudart -Mcuda=cuda6.0 -fast -acc -ta=nvidia -Minfo=accel

Thanks,
Barak

No, it’s the compiler version. “host_data” had issues that were addressed in the PGI 14.9 release. I believe you are using 14.7 or earlier.

I posted a version of your code that will work with 14.7 on your other post. openacc-interoperability

  • Mat