Hi Bill,<br><br>Glad to hear it. An F90 interface would have saved me quite a bit of debugging last week, I hope to see it soon.<br><br>Jim<br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 2:30 PM, William Gropp <span dir="ltr"><<a href="mailto:wgropp@illinois.edu">wgropp@illinois.edu</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;"><div style="">I'm still working on building the Fortran 90 interface for pnetCDF, which requires some extensions to the MPICH2 F90 buildiface script. <div>
Bill</div><div><div><div></div><div class="h5"><br><div><div>On Jan 4, 2010, at 11:47 AM, Jim Edwards wrote:</div><br><blockquote type="cite"><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" target="_blank">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>><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><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> ==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" target="_blank">parallelio@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:parallelio%2Bunsubscribe@googlegroups.com" target="_blank">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></div><font color="#888888"><div> <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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div 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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div>William 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></div></div><br></span></div></span><br> </div><br></font></div></div></blockquote></div><br>