[petsc-users] Fortran interface -- low level access to petsc data
Matthew Knepley
knepley at gmail.com
Sun Oct 27 07:56:29 CDT 2013
On Sun, Oct 27, 2013 at 6:16 AM, Hossein Talebi <talebi.hossein at gmail.com>wrote:
> Hello All,
>
> I am trying to use petsc with Fortran. The initial mechanism to use petsc
> with FORTRAN77 that works fine. However, I found the Fortran 90 interfaces
> difficult to work with. The very first issue is one has to recompile petsc
> with the Fortran compiler in case different to the one which was used to
> create the Fortran Mod files. Also, we would still need to use C type
> #include statements along with Fortran 'use' statement which is not so
> optimal.
>
> Since Fortran 2003 offers great interface to C, did anyone try to write a
> F03 interface to petsc? Using F03 features, we can have very low data
> access to petsc database as well.
>
F2003 support is fairly thin in the compiler world, and we have not had
much call for it. We do gratefully accept contributions.
Thanks,
Matt
> Cheers
> Hossein
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131027/2295becc/attachment.html>
More information about the petsc-users
mailing list