ExodusII iconExodusII 4.71

ExodusII is a model developed to store and retrieve finite element geometry and topology.
ExodusII is a model developed to store and retrieve finite element geometry, topology, and transient data for finite element analyses.

The project is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf. It includes the nemesis parallel extension.

Requirements:

NetCDF 3.6.1

The netcdf library must be modified slightly in order to handle the exodusII datamodel. The specific changes are:

1. src/libsrc/netcdf.h -- Modify the following defines:

#define NC_MAX_DIMS 65536 /* max dimensions per file */
#define NC_MAX_VARS 524288 /* max variables per file */
#define NC_MAX_VAR_DIMS 8 /* max per variable dimensions */

2. src/ncdump/ncdump.c -- Due to the increased sizes above, the 'dims' and 'vdims' arrays are malloc'd instead of static arrays which fail with the increased sizes.

347a348,351
> #if 0
> /* The following code was blowing out the stack on some systems.
> * Changed code to get the memory off the heap using malloc instead
> */
349a354,357
> #else
> struct ncdim *dims; /* dimensions */
> size_t *vdims; /* dimension sizes for a single variable */
> #endif
359a368,370
> dims = NULL;
> vdims = NULL;
>
388c399
< if (ndims > 0)
---
> if (ndims > 0) {
389a401,403
> dims = malloc(ndims * sizeof(struct ncdim));
> vdims = malloc(ndims * sizeof(size_t));
> }
508a523,526
> if (dims)
> free(dims);
> if (vdims)
> free(vdims);
519a538,541
> if (dims)
> free(dims);
> if (vdims)
> free(vdims);

3. When running the netcdf tests, you may have to do "unlimit stacksize" to avoid some failures due to the increased define sizes above.

What's New in This Release:

Numerous major bugfixes and code cleanups.

last updated on:
February 27th, 2008, 7:50 GMT
price:
FREE!
developed by:
Gregory Sjaardema
license type:
BSD License 
category:
ROOT \ Science and Engineering \ Visualization

FREE!

In a hurry? Add it to your Download Basket!

user rating 14

UNRATED
3.4/5
 

0/5

Add your review!

SUBMIT