error in configure

Wei-keng Liao wkliao at ece.northwestern.edu
Mon Dec 28 19:45:33 CST 2009


Your outputs said both nelems and cnelems are 27.
I don't know why the printf at line 2016 even got printed.
Can you try a clean build of pnetcdf?

Or if you can provide a test code, I can give it a try.


Wei-keng

On Dec 28, 2009, at 6:59 PM, Jim Edwards wrote:

> That works - thanks.    Here is another one.  I'm gettiing an error
>  Input/Output data amount mismatch
>
> that I've traced to the mpinetcdf.c file at around line 2000  where  
> I added a couple of print statements
>
>
>     printf("line %d nelems %d cnelems %d\n",__LINE__,nelems,cnelems);
>   if (nelems != cnelems) {
>     if (warning == NC_NOERR)
>       warning = NC_EIOMISMATCH;
>     printf("line %d nelems %d cnelems %d\n",__LINE__,nelems,cnelems);
>
>     (nelems>cnelems) ? (nelems=cnelems) : (cnelems=nelems);
>   }
>
>
> This results in the output:
>
>    1:line 2012 nelems 27 cnelems 27
>    1:line 2016 nelems 27 cnelems 27
>
>
>
>
>
>
> On Mon, Dec 28, 2009 at 5:38 PM, Wei-keng Liao <wkliao at ece.northwestern.edu 
> > wrote:
> Hi,
>
> If you run autoreconf first, it will generate that file for you.
>
> Wei-keng
>
>
>
> On Dec 28, 2009, at 2:47 PM, Jim Edwards wrote:
>
> Hi,
>
> Tried checking out the svn trunk and get the following configure  
> error...
>
> configure: error: cannot find sources (src/lib/ncconfig.in) in . or ..
>
> what happened to this file?
>
>



More information about the parallel-netcdf mailing list