<br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 9:24 AM, Rob Latham <span dir="ltr"><<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>></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">><br>
> Also - to complete the F90 interface I need to modify the *.c files in the<br>
> src/libf directory. These files have a header line that states:<br>
><br>
> This file is automatically generated by buildiface -infile=../lib/pnetcdf.h<br>
> > -deffile=defs<br>
> > * DO NOT EDIT<br>
> ><br>
><br>
> but I cannot find the program buildiface in the repository?<br>
<br>
</div>Yeah, buildiface is an MPICH2 wrapper generator. I think it is<br>
shipped along with any released MPICH2 tarball. 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. 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. 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. 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? <br>
<br><br> </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>