[Omp] Empty OMP continuation lines
Georg Hager
georg.hager at rrze.uni-erlangen.de
Mon Feb 20 05:46:31 PST 2006
Hi all,
a compiler we've tested does not like empty OMP continuation lines in
Fortran, i.e.
!$OMP parallel do &
!$OMP &
!$OMP private(i)
is not accepted (the empty lines come up because the OMP directives
are mostly generated by the preprocessor in this code). Adding a
second '&' at the end of the second line doesn't help either. The 2.5
spec is not too clear about this. On page 20, line 12 it says that
"Fortran free form line length, white space, and continuation rules
apply to the directive line." That would mean that empty OMP
continuation lines are allowed, like in Fortran. Is that true, or is
the compiler right?
Thanks for any help,
Georg.
More information about the Omp
mailing list