If using free-format use extension .F90 not .F
On 10/08/2010 09:33 PM, Peter Wang wrote:
> I am trying to modify the example code in
> {PETSc_Dir}\src\vec\vec\examples\tests\ex19f.F . Only three lines are
> added into the original code. However, if the three lines are added,
> there is error c
lt of axpy ',f10.4)
call VecDestroy(x,ierr)
call VecDestroy(y,ierr)
call VecDestroy(w,ierr)
call PetscFinalize(ierr)
end
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101008/e155e0e9/attachment.htm>
Fortran fixed format requires that line not begin before the 7th column
Barry
On Oct 8, 2010, at 9:33 PM, Peter Wang wrote:
> I am trying to modify the example code in
> {PETSc_Dir}\src\vec\vec\examples\tests\ex19f.F . Only three lines are added
> into the original code. However, if t
,ierr)
call VecDestroy(y,ierr)
call VecDestroy(w,ierr)
call PetscFinalize(ierr)
end
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101008/c1851dc8/attachment.htm>