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.
The tst_iter test appears to be failing
to compile or execute a small C program
that I use.
Below is that C program. See if you can compile
it and execute it on your machine
using commands something like this
gcc ./iter.c -o iter.exe
./iter.exe >>iter.cdl
substituting whatever your c compiler is for gcc.
The program iter.c is as follows.
#include <stdlib.h>
#include <stdio.h>
#define N (5*256*256)
int main() {
int i;
for(i=0;i<N-1;i++) {printf("%d,\n",i);}
printf("%d;\n}\n",N);
return 0;
}
=Dennis Heimbigner
Unidata
Ticket Details
===================
Ticket ID: DXI-367638
Department: Support netCDF
Priority: High
Status: Closed