[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Programming in *.f90 free format with PETSc
- To: petsc-users@xxxxxxxxxxx
- Subject: Programming in *.f90 free format with PETSc
- From: Ben Tay <zonexo@xxxxxxxxx>
- Date: Mon, 06 Aug 2007 12:33:48 +0800
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=JuEoiTrB3AlncMBbTQOIF/HDGzWYpCZR828IdIuFjKiMm8/9ypLyhPOVrfsLcb7c0iblemJaGOeMdvLBOdOAjRdNxaa5+UtxKz10ALintoDkejbqTeMfL68MgV7NVatbs0jd9nK8+AboRIqCqABPYjDtVyY1CPKrNDg377+d+Ro=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=lglKEOfgb7rC7CCUFfSIhKp9nM3TjDel3qSBKX71sH9wJJitvVKCfAjutGEqopS5i1g6TIagKI7LFEAgskr/7xu9D67qRxILYUCtco7mJ8U1R0X1ec02uE+QiyqqLjacHbMF5PaNQ/ropKngpkwWLFsJzyi1gg2fTmnTTff44Yw=
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
- User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
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