I have developed a CUDA Fortran code and I’m now trying to use it with very large datasets.
The code has been working swimmingly up until now but as I need to test it with large datasets it is necessary for me to have integer(8) variables.
To do this I tried compiling with -i8 but my CUDA Fortran module doesn’t like this and fails to compile with the error:
PGF90-F-0000-Internal compiler error. Unexpected runtime function call 0 (scf.f: 3317) PGF90/x86-64 Linux 12.10-0: compilation aborted
which is failing to compile consists of host code followed by several global routines. The line number it is failing on
is the end of the very first global (device) subroutine. The routine uses only supported intrinsics and variables that have been explicitly transferred to the device.
This is definitely a problem with -i8 as it compiles perfectly without it.
Do I need to modifiy anything in my CUDA code to be able to use -i8?
Any help/suggestions more than welcome.