<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=379544818-26062009><FONT color=#0000ff
size=2 face=Arial>I believe buildiface was written from scratch by Bill Gropp. I
don't know if there are any general tools out there to build a Fortran interface
to a C library.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=379544818-26062009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=379544818-26062009><FONT color=#0000ff
size=2 face=Arial>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Luiz Carlos da
Costa Junior<BR><B>Sent:</B> Thursday, June 25, 2009 4:06 PM<BR><B>To:</B>
MPICH Discuss<BR><B>Subject:</B> [mpich-discuss]
buildiface<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,
<DIV><BR></DIV>
<DIV>I would like to ask a question about MPI implementation and not directly
linked to MPI itself.</DIV>
<DIV><BR></DIV>
<DIV>I'm developing a library in C and I would like to distribute also for
FORTRAN (actually, I'm following much of the MPICH's programming
style).</DIV>
<DIV>Browsing through MPICH's code, I have seem in the "binding" directory the
"buildiface" script and, as far as I understood, it creates the necessary code
to wrap C routines and publish them to the FORTRAN library.</DIV>
<DIV><BR></DIV>
<DIV>My question is: buildiface script was developed from MPICH's team from
scratch or there is a tool to help through this process?</DIV>
<DIV>Any suggestion on the process of wrapping C routines to FORTRAN library
will help.</DIV>
<DIV><BR></DIV>
<DIV>Thanks in advance and sorry for asking non MPI related questions.</DIV>
<DIV><BR></DIV>
<DIV>Luiz//</DIV></BLOCKQUOTE></BODY></HTML>