[petsc-dev] fortran modules and datatypes
Blaise Bourdin
bourdin at lsu.edu
Wed Jan 4 15:13:37 CST 2012
Hi,
Sorry for the potential double post. I posted from the wrong account.
I am looking at many fortran90 examples which will only compile without fortran datatypes, like src/vec/is/examples/tutorial/ex1f90.F
Is there a preprocessor variable indicating if petsc is compiled with fortran modules? I would like to update some of these examples following the lines of src/vec/vec/examples/tutorials/ex20f90.F90
cf attached patch for src/vec/examples/tutorial/ex1f90.F
Blaise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fortran.patch
Type: application/octet-stream
Size: 2602 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120104/45af5695/attachment.obj>
-------------- next part --------------
--
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
More information about the petsc-dev
mailing list