#include "netcdf.h"
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
int exoid, exoid1,
error, idum;
int CPU_word_size, IO_word_size;
float version;
char *cdum = 0;
CPU_word_size = 0;
IO_word_size = 0;
&CPU_word_size,
&IO_word_size,
&version);
printf("\nafter ex_open\n");
if (exoid < 0) {
exit(1);
}
printf("test.exo is an EXODUSII file; version %4.2f\n", version);
printf(" CPU word size %1d\n", CPU_word_size);
printf(" I/O word size %1d\n", IO_word_size);
printf("EXODUSII API; version %4.2f\n", version);
CPU_word_size = 8;
IO_word_size = 4;
&CPU_word_size,
&IO_word_size);
printf("\nafter ex_create, exoid = %3d\n", exoid1);
if (exoid1 < 0) {
exit(1);
}
printf(" CPU word size %1d\n", CPU_word_size);
printf(" I/O word size %1d\n", IO_word_size);
printf("\nafter ex_copy, error = %3d\n", error);
printf("\nafter ex_close, error = %3d\n", error);
printf("\nafter ex_close, error = %3d\n", error);
return 0;
}