According to the documentation on IVF 13.1 the forall-header in the DO CONCURRENT construct has the following format:
( [ type :: ] forall-spec [, mask-expr] )
I struggle to get the type spec to compile, e.g.
DO CONCURRENT (integer(int_def) :: i = 1:dim)
where int_def is a valid integer kind (used everywhere else in the program so that is not the source of the problem)
The error msg is as follows:
error #5082: Syntax error, found '::' when expecting one of: )