oops, original attachment was incorrect, here is a correction.<br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 4:32 PM, Jim Edwards <span dir="ltr"><<a href="mailto:jedwards@ucar.edu" target="_blank">jedwards@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Wei-keng,<br><br>The fortran interface defines nfmpi_inq_buf_usage but the function isn't in src/libf. <br>I've attached what I think that it should look like.   Can you put this into the repository, and<br>
update the src/libf/Makefile.in?  I also made an addtional change to pnetcdf_api.interface as shown below.<br>
<br>Thanks,<br><br>Index: pnetcdf_api.interface<br>===================================================================<br>--- pnetcdf_api.interface       (revision 1101)<br>+++ pnetcdf_api.interface       (working copy)<br>

@@ -2519,7 +2519,7 @@<br>                             INTEGER,                       INTENT(IN)  :: varid<br>                             INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN)  :: start(*)<br>                             INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN)  :: count(*)<br>

-                            CHARACTER(len=*),              INTENT(IN)  :: text<br>+                            CHARACTER(len=*),              INTENT(IN)  :: text(*)<br>                             INTEGER,                       INTENT(OUT) :: req<br>

     END FUNCTION   nfmpi_bput_vara_text<br> <br>Index: Makefile.in<br>===================================================================<br>--- Makefile.in (revision 1101)<br>+++ Makefile.in (working copy)<br>@@ -354,7 +354,8 @@<br>

        bput_varm_doublef.c \<br>        bput_varm_int8f.c \<br>        bufattachf.c \<br>-       bufdetachf.c<br>+       bufdetachf.c \<br>+        inqbufusagef.c<span class="HOEnZb"><font color="#888888"><br> <br clear="all">
<br>-- <br>Jim Edwards<br><br><font>CESM Software Engineering Group<br>
National Center for Atmospheric Research<br>Boulder, CO <br><a href="tel:303-497-1842" value="+13034971842" target="_blank">303-497-1842</a><br></font><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Jim Edwards<br><br><font>CESM Software Engineering Group<br>National Center for Atmospheric Research<br>Boulder, CO <br>303-497-1842<br></font><br>