Unhandled builtin function

I am trying to get a large finite element code running on a GPU, and am now getting the following error. The line number is referring to a standard fortran do loop.



Unhandled builtin: 591 (pgf90_mcopy8)
PGF90-F-0000-Internal compiler error. Unhandled builtin function. 0 (…/compressible/compressible.f90: 15569)
PGF90/x86-64 Linux 16.7-0: compilation aborted
make: *** [compressible.o] Error 2

Help?

Hi ctanis35591,

There’s still a few Fortran runtime calls that have yet to be ported to the GPU, including pgf90_mcopy8. This is what’s gets called when performing “A=B” or “A=scalar” where A and B are arrays.

The simple work around is to change the array syntax to be an explicit loop.

Hope this helps,
Mat