<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm still working on building the Fortran 90 interface for pnetCDF, which requires some extensions to the MPICH2 F90 buildiface script. &nbsp;<div>Bill</div><div><br><div><div>On Jan 4, 2010, at 11:47 AM, Jim Edwards wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 9:24 AM, Rob Latham <span dir="ltr">&lt;<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> <div class="im">&gt;<br> &gt; Also - to complete the F90 interface I need to modify the *.c files in the<br> &gt; src/libf directory. &nbsp; These files have a header line that states:<br> &gt;<br> &gt; This file is automatically generated by buildiface -infile=../lib/pnetcdf.h<br> &gt; &gt; -deffile=defs<br> &gt; &gt; &nbsp;* DO NOT EDIT<br> &gt; &gt;<br> &gt;<br> &gt; but I cannot find the program buildiface in the repository?<br> <br> </div>Yeah, buildiface is an MPICH2 wrapper generator. &nbsp;I think it is<br> shipped along with any released MPICH2 tarball. &nbsp;There's a script in<br> src/libf called "createffiles" which calls buildiface with the right<br> arguments and tells you what environment variable to set so that it<br> can find the MPICH2 directory.<br> <div><div></div><div class="h5"><br></div></div></blockquote><div><br><br>I had a look at the mpich2 source and see that there is a separate buildiface file for f90. &nbsp; It seems that ideally pnetcdf should be using this to build it's f90 interface and I see that it has provision to generate the piece of the interface that I still haven't completed. &nbsp; It would also complete the circle so you wouldn't need to remember to update the f90 interface if you make a change in the C API. &nbsp; I think that this is the right way to do it but I'm not even sure where to begin to get this working - do you have some cycles to look into it Rob?&nbsp;&nbsp; <br> <br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"> ==rob<br> <br> --<br> Rob Latham<br> Mathematics and Computer Science Division<br> Argonne National Lab, IL USA<br> <br> </div></div><font color="#888888">--<br> <br> You received this message because you are subscribed to the Google Groups "parallelio" group.<br> To post to this group, send email to <a href="mailto:parallelio@googlegroups.com">parallelio@googlegroups.com</a>.<br> To unsubscribe from this group, send email to <a href="mailto:parallelio%2Bunsubscribe@googlegroups.com">parallelio+unsubscribe@googlegroups.com</a>.<br> For more options, visit this group at <a href="http://groups.google.com/group/parallelio?hl=en" target="_blank">http://groups.google.com/group/parallelio?hl=en</a>.<br> <br> <br> </font></blockquote></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>William&nbsp;Gropp</div><div>Deputy Director for Research</div><div>Institute for Advanced Computing Applications and Technologies</div><div>Paul and Cynthia Saylor Professor of Computer Science</div><div>University of Illinois Urbana-Champaign</div><div><br class="khtml-block-placeholder"></div></div><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>