gfortran6 with OpenACC - error

Anton Shterenlikht mexas@bris.ac.uk
Tue Apr 26 15:37:00 GMT 2016


>> newblue4> gfortran -fopenacc -O2 z.f90 -Wall -o gfort-acc.x
>> z.f90:34:3:
>> 
>>  end program z
>>    1
>> Error: Unexpected END statement at (1)
>> f951: Error: Unexpected end of file in ‘z.f90’
>> newblue4>
>
>This program missing an "!$acc end data" to mark the end of the data region.
>
>Cesar

Thank you

The error text made me think something
was wrong with my Fortran statements,
not with OpenACC.

Anton



More information about the Fortran mailing list