I’m in the process of converting some Fortran 77 code to PGI CUDA. During the compile process, all of my OPEN / READ / and CLOSE statements for files return with the following message:
S0310 Illegal statement specification in a module
I’ve reveiwed other examples of Fortran CUDA where OPEN / READ / and CLOSE statements are used for files.
Following are excerpts of the statements where the failure occurs:
OPEN (10,file =‘CG_20X_6to1.dat’)
Any help or suggestions would be appreciated,