nfmpi write interface

Wei-keng Liao wkliao at ece.northwestern.edu
Wed Oct 15 18:50:13 CDT 2008


Nikhil,

The start variable in nfmpi_put_vara_int_all() should be in Fortran 
index, i.e. it starts with 1, not 0.

If you changed to
    start(1) = myid*4 + 1
the program will run fine.

Wei-keng



On Wed, 15 Oct 2008, Nikhil Laghave wrote:

> Hello,
> I am using version 1.0.2 of pnetcdf.
> 
> Nikhil
> 
> On Wed, Oct 15, 2008 at 3:44 PM, Wei-keng Liao
> <wkliao at ece.northwestern.edu>wrote:
> 
> > Hi, Nikhil,
> >
> > Can you tell us what pnetcdf version you are using?
> >
> > Wei-keng
> >
> >
> >
> > On Wed, 15 Oct 2008, Nikhil Laghave wrote:
> >
> > > Hello All,
> > >
> > > I am getting stuck in a write call "nfmpi_put_vara_int_all". There's
> > > something wrong in the arguments that I don't seem to understand.
> > >
> > > Can someone have a quick look at the attached file to see what is going
> > > wrong ? I am creating a 1-D array of 16 integers and running it on 4
> > procs.
> > > Each processor writes 4 integers in this arrayat an offset of 4 from each
> > > other. The file and the variable gets created but the put call doesnt
> > write
> > > anything.
> > >
> > > --
> > > Regards,
> > > Nikhil
> > >
> >
> >
> 
> 
> -- 
> Regards,
> Nikhil
> 




More information about the parallel-netcdf mailing list