Programming in *.f90 free format with PETSc
Ben Tay
zonexo at gmail.com
Sun Aug 5 23:33:48 CDT 2007
Hi,
I've no problem writing out codes in fortran fixed format with PETSc.
However, is it possible to do it in fortran free format as well?
I'm using visual fortran and there's error.
original :
test.F
module global_data
implicit none
save
#include "include/finclude/petsc.h"
#include "include/finclude/petscvec.h"
#include "include/finclude/petscmat.h"
#include "include/finclude/petscksp.h"
#include "include/finclude/petscpc.h"
#include "include/finclude/petscmat.h90"
Vec xx,b_rhs
....
How can I change this code to fortran free format *.f90?
Thanks
More information about the petsc-users
mailing list