error in configure

Jim Edwards edwards.jim at gmail.com
Tue Dec 29 09:58:12 CST 2009


I rebuilt pnetcdf with all optimization off and still get the error.
I tried to build a short testcase and it works fine, (no error - line 2016
is not printed).





On Mon, Dec 28, 2009 at 6:45 PM, Wei-keng Liao
<wkliao at ece.northwestern.edu>wrote:

>
> 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?
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20091229/1b0b56b9/attachment.htm>


More information about the parallel-netcdf mailing list