My attempt to compile an OpenACC Fortan code with the Cray Fortran compiler ...
crayftn -o msqcomp -h omp -h acc msquared.f90
fails with the error message
ftn-1350 crayftn: WARNING in command line
Command line option "-hacc" is being ignored because an accelerator target has not been specified.
So apparently I have to specify the target accelerator. The thing is, I cannot find any documentation on how to do this anywhere, not in a Bing search and particularly not in the crayftn man pages. Anyone know what flags to use?
BTW, I am trying to compile for an nvidia Tesla K40. And I am stuck with the Cray compiler for now. Even if I could use another compiler at the moment, I will eventually have to get this worked out for crayftn. Thanks.