'!$OMP' directive followed by several spaces

Daniel Franke franke.daniel@gmail.com
Wed Feb 14 12:48:00 GMT 2007


2007/2/14, Philippe Schaffnit <P.Schaffnit@access.rwth-aachen.de>:
> This must have to do with my local setup then... Can anyone reproduce
> it?

Nope, I stand corrected. I copied do1.f90 to keep the original,
changed the copy but recompiled the original *ähem*.

Your first example worked for other reasons, see below:

$> cat  do1.f90
!$OMP   parallel
!$omp end parallel
end

$> gfortran-svn -g -Wall -fopenmp do1.f90
do1.f90:1.6:

!$OMP   parallel
     1
Error: Unclassifiable OpenMP directive at (1)

OTOH:
$> cat do1.f
      !$OMP   parallel
      !$omp end parallel
      end
$> gfortran-svn -g -Wall -fopenmp do1.f

Compiles without notice.



More information about the Fortran mailing list