Hello guys, I have a simple code with open function and I was trying to compile with openacc it gives me errors. Could anyone help with how I can get rid of issue? Thanks!
subroutine test
!$acc routine
open (UNIT=88, file = 'iterate.dat', status = 'unknown')
itfile = 88
end subroutine
~/tsctx/src$ pgfortran -acc -Minline -Minfo -ta=tesla:cc70 -c -w -O3 test2.F
PGF90-S-0000-Internal compiler error. Call in OpenACC region to support routine - pgf90io_open2003 (test2.F: 5)
PGF90-S-0155-Compiler failed to translate accelerator region (see -Minfo messages) (test2.F: 1)
test:
1, Generating acc routine seq
Generating Tesla code
3, Accelerator restriction: unsupported call to support routine 'pgf90io_open2003'
0 inform, 0 warnings, 2 severes, 0 fatal for test