[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programming in *.f90 free format with PETSc



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