This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: "Larry A. Schoof" <address@hidden> Fri, 12 Aug 94 16:57:01 MDT >Keywords: 199408122255.AA24545 >Subject: Alpha bug?? In the above message you wrote: >I'm trying to port a library of C and Fortran routines I've built on >top of netcdf to a DEC Alpha running OSF1. The netcdf installation >went through without a glitch and I ported my C library fairly easily >(once I realized that sizeof(int) != sizeof(long)). My library has >passed all my tests when I link it to the default netcdf library. But >when I link it to a netcdf library that was compiled with >CPPFLAGS=-DDEBUG, I get the following assertion failure: >Assertion failed: (*vpp)->begin == xdr_getpos(xdrs), file file.c, line 640 >What causes this error to occur? Should I worry about it if my library >works fine with the default netcdf library? I'm not sure if this is a >bug on the Alpha or not. I don't have this problem on other >platforms. According to our records, that assertion was removed from our in-house, development version: revision 1.66 date: 1993/10/12 17:37:52; author: davis; state: Exp; lines: +1 -9 the assert isn't always valid ..., remove I suggest removing it from yours. -------- Steve Emmerson <address@hidden>