On Mon, 29 Apr 2013, Sonya Blade wrote: > -------------- Build: Debug in Petsc_Fortran (compiler: GNU GFortran > Compiler)--------------- > > gfortran.exe -Wall ?-g ?-Wall ? > -IC:\Users\....\Downloads\petsc-3.3-p6\include\finclude > -IC:\Users\...\Downloads\petsc-3.3-p6\arch-mswin-c-debug\include ?-c > D:\....\PROJECTS\CBFortran\Petsc_Fortran\main.f90 -o obj\Debug\main.o >
Rename your sourcefile from 'main.f90' to 'main.F90'. gfortran will preprocess it with the .F90 name. Are you using makefiles or somthing else to build your application? We suggest using PETSc makefiles. Satish
