[petsc-users] preprocessing problem

Satish Balay balay at mcs.anl.gov
Tue Jun 30 17:11:00 CDT 2015


On Tue, 30 Jun 2015, W. Miah wrote:

> Hi,
> 
> This is probably a simple mistake, but I am getting the following
> error when trying to compile a Fortran PETSc example:
> 
> [host petsc-examples]$ mpiifort -c -I/home/fcwm/petsc-3.6.0/include
> -I/home/fcwm/petsc-3.6.0/include/petsc ex2f.F
> ex2f.F(82): error #5082: Syntax error, found ',' when expecting one
> of: ( % [ : . = =>
>       Vec        x,b,u
> ------------------^
> 
> Any help will be greatly appreciated. Thanks in advance.

Are you not using the correspoding makefile that came with this example?

Satish



More information about the petsc-users mailing list