[petsc-dev] openmp

Svetlana Tkachenko svetlana.tkachenko at fastmail.fm
Wed Nov 6 20:39:31 CST 2013



On Thu, 7 Nov 2013, at 12:56, Jed Brown wrote:
> Svetlana Tkachenko <svetlana.tkachenko at fastmail.fm> writes:
> 
> > ~/dev/test/petsc $ mv solver.f solver.F
> > ~/dev/test/petsc $ make
> > gfortran -c  -fPIC -Wall -Wno-unused-variable -g  -fopenmp  -I/home/<username>/petsc/include -I/home/<username>/petsc/linux-amd64/include -I/home/<username>/petsc/include/mpiuni    -o solver.o solver.F
> > solver.F:8.46:
> >
> >               if (ierr .ne. 0) call MPI_Abort(PETSC_COMM_WORLD,ierr,ierr
> >                                               1
> > Error: Missing ')' in statement at or before (1)
> 
> You indented so far that the expanded macro spilled over the
> 72-character line length needed to fit on a punch card in the 1950s.  If
> you would like to modernize your Fortran dialect beyond the constraints
> of punch cards, you could consider naming your file .F90 or adding the
> option -ffree-form, perhaps also with -ffree-line-length-none.
> Email had 1 attachment:
> + Attachment2
>   1k (application/pgp-signature)

Thanks! I need to apologize as I didn't mention it in the previous message:  in my solver.F no I did not exceed the line length and I don't know what it is referring to even. That line is not mine.

  Svetlana



More information about the petsc-dev mailing list