📄 readme
字号:
========================================================================CONTACT:Greg Sjaardema,Sandia National Laboratories,gdsjaar@sandia.gov========================================================================LICENSE:The ExodusII library is licensed under the terms of the BSD License. Legal stuff (copyright, licensing restrictions, etc.) can be found inthe file COPYRIGHT which contains:1. The Sandia Corporation Copyright Notice.2. The BSD License.We appreciate feedback from users of this package. Please sendcomments, suggestions, and bug reports to Greg Sjaardema <gdsjaar@sandia.gov>.Please identify the version of the package.========================================================================BUILDINGThere are 3 methods for building exodusII.1. SEAMS/SEACAS Build system which is based on imake. If you have aSEAMS or SEACAS installation, you can use its build system. In thetop-level exodusii directory, do 'accmkmf' followed by 'makeMakefiles' and then 'make'2. CMAKE: type 'cmake .' or 'cmake -i' to generate the Makefilesfollowed by 'make'. There is an issue with finding the requirednetcdf library that I am not good enough at cmake to solve. Theeasiest method is to symbolically link the netcdf library into thecbind directory and the netcdf include into the cbind/includedirectory. 3. Makefile.standalone. Edit the top-level Makefile.standalone fileand specify the compiler and other options as detailed in thefile. Then, do "make -f Makefile.standalone".Once you have built the library, you can test it by typing "makecheck"========================================================================NETCDFThe exodusII library uses the netcdf library for low-level datastorage.ExodusII requires NetCDF version 3.6.0 or later with the "large-modelmodifications". The netcdf library must be modified slightly in order to handle theexodusII 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 failwith 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 */> #endif359a368,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 "unlimitstacksize" to avoid some failures due to the increased define sizesabove.========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -