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<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>