nfmpi_inq_buffer_usage

Jim Edwards jedwards at ucar.edu
Tue Nov 6 17:48:43 CST 2012


oops, original attachment was incorrect, here is a correction.

On Tue, Nov 6, 2012 at 4:32 PM, Jim Edwards <jedwards at ucar.edu> wrote:

> Hi Wei-keng,
>
> The fortran interface defines nfmpi_inq_buf_usage but the function isn't
> in src/libf.
> I've attached what I think that it should look like.   Can you put this
> into the repository, and
> update the src/libf/Makefile.in?  I also made an addtional change to
> pnetcdf_api.interface as shown below.
>
> Thanks,
>
> Index: pnetcdf_api.interface
> ===================================================================
> --- pnetcdf_api.interface       (revision 1101)
> +++ pnetcdf_api.interface       (working copy)
> @@ -2519,7 +2519,7 @@
>                              INTEGER,                       INTENT(IN)  ::
> varid
>                              INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN)  ::
> start(*)
>                              INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN)  ::
> count(*)
> -                            CHARACTER(len=*),              INTENT(IN)  ::
> text
> +                            CHARACTER(len=*),              INTENT(IN)  ::
> text(*)
>                              INTEGER,                       INTENT(OUT) ::
> req
>      END FUNCTION   nfmpi_bput_vara_text
>
> Index: Makefile.in
> ===================================================================
> --- Makefile.in (revision 1101)
> +++ Makefile.in (working copy)
> @@ -354,7 +354,8 @@
>         bput_varm_doublef.c \
>         bput_varm_int8f.c \
>         bufattachf.c \
> -       bufdetachf.c
> +       bufdetachf.c \
> +        inqbufusagef.c
>
>
> --
> Jim Edwards
>
> CESM Software Engineering Group
> National Center for Atmospheric Research
> Boulder, CO
> 303-497-1842
>
>


-- 
Jim Edwards

CESM Software Engineering Group
National Center for Atmospheric Research
Boulder, CO
303-497-1842
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20121106/c1d4657d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inqbufusagef.c
Type: text/x-csrc
Size: 811 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20121106/c1d4657d/attachment.c>


More information about the parallel-netcdf mailing list