IOSS  2.0
Ioss_Doxygen.h
Go to the documentation of this file.
1 // clang-format off
2 
3 /*! \mainpage IOSS API Documentation
4 
5 \section avail Availability
6 
7 The IOSS library source code is available on Github at
8 https://github.com/gsjaardema/seacas
9 
10 For bug reports, documentation errors, and enhancement suggestions, contact:
11 - Gregory D. Sjaardema
12 - WEB: https://github.com/gsjaardema/seacas/issues
13 - EMAIL: gdsjaar@sandia.gov
14 - EMAIL: gsjaardema@gmail.com
15 - PHONE: (505) 844-2701 (office)
16 
17 \section properties Properties
18 
19 ## General Properties
20 
21  Property | Value | Description
22  ----------|:--------:|------------
23  LOGGING | on/[off] | enable/disable logging of field input/output
24  LOWER_CASE_VARIABLE_NAMES | [on]/off | Convert all variable names on database to lowercase; replace ' ' with '_'
25  USE_GENERIC_CANONICAL_NAMES | on/[off] | use `block_{id}` as canonical name of an element block instead of the name (if any) stored on the database. The database name will be an alias.
26  MINIMIZE_OPEN_FILES | on/[off] | If on, then close file after each timestep and then reopen on next output
27 
28 ## Auto-Decomposition-Related Properties
29 
30  Property | Value | Description
31 -----------------|:------:|-----------------------------------------------------------
32 MODEL_DECOMPOSITION_METHOD | {method} | Decompose a DB with type `MODEL` using `method`
33 RESTART_DECOMPOSITION_METHOD | {method} | Decompose a DB with type `RESTART_IN` using `method`
34 DECOMPOSITION_METHOD | {method} | Decompose all input DB using `method`
35 PARALLEL_CONSISTENCY | [on]/off | On if the client will call Ioss functions consistently on all processors. If off, then the auto-decomp and auto-join cannot be used.
36 RETAIN_FREE_NODES | [on]/off | In auto-decomp, will nodes not connected to any elements be retained.
37 LOAD_BALANCE_THRESHOLD | {real} [1.4] | CGNS-Structured only -- Load imbalance permitted Load on Proc / Avg Load
38 
39 ### Valid values for Decomposition Method
40 
41 Method | Description
42 :---------:|-------------------
43 rcb | recursive coordinate bisection
44 rib | recursive inertial bisection
45 hsfc | hilbert space-filling curve
46 metis_sfc | metis space-filling-curve
47 kway | metis kway graph-based
48 kway_geom | metis kway graph-based method with geometry speedup
49 linear | elements in order first n/p to proc 0, next to proc 1.
50 cyclic | elements handed out to id % proc_count
51 random | elements assigned randomly to processors in a way that preserves balance (do not use for a real run)
52 external | Files are decomposed externally into a file-per-processor in a parallel run.
53 
54 ## Output File Composition -- Single File output from parallel run instead of file-per-processor
55 
56  Property | Value
57 -----------------|:------:
58 COMPOSE_RESTART | on/[off]
59 COMPOSE_RESULTS | on/[off]
60 PARALLEL_IO_MODE | netcdf4, hdf5, pnetcdf, (mpiio and mpiposix are deprecated)
61 
62 ## Properties Related to byte size of reals and integers
63 
64  Property | Value | Description
65 -----------------------|:------:|-----------------------------------------------------------
66  INTEGER_SIZE_DB | [4] / 8 | byte size of integers stored on the database.
67  INTEGER_SIZE_API | [4] / 8 | byte size of integers used in api functions.
68  REAL_SIZE_DB | 4 / [8] | byte size of floating point stored on the database.
69  REAL_SIZE_API | 4 / [8] | byte size of floating point used in api functions.
70 
71 ## Properties related to underlying file type (exodus only)
72 
73  Property | Value | Description
74 -----------------------|:------:|-----------------------------------------------------------
75  FILE_TYPE | [netcdf], netcdf4, netcdf-4, hdf5 | Underlying file type (bits on disk format)
76  COMPRESSION_LEVEL | [0]-9 | In the range [0..9]. A value of 0 indicates no compression, will automatically set `file_type=netcdf4`, recommend <=4
77  COMPRESSION_SHUFFLE | on/[off] |to enable/disable hdf5's shuffle compression algorithm.
78  MAXIMUM_NAME_LENGTH | [32] | Maximum length of names that will be returned/passed via api call.
79  APPEND_OUTPUT | on/[off] | Append output to end of existing output database
80  APPEND_OUTPUT_AFTER_STEP | {step}| Max step to read from an input db or a db being appended to (typically used with APPEND_OUTPUT)
81  APPEND_OUTPUT_AFTER_TIME | {time}| Max time to read from an input db or a db being appended to (typically used with APPEND_OUTPUT)
82 
83 ## Properties for the heartbeat output
84  Property | Value | Description
85 -----------------------|:------:|-----------------------------------------------------------
86  FLUSH_INTERVAL | int | Minimum time interval between flushing heartbeat data to disk. Default is 10 seconds
87  TIME_STAMP_FORMAT | [%H:%M:%S] | Format used to format time stamp. See strftime man page
88  SHOW_TIME_STAMP | on/off | Should the output lines be preceded by the timestamp
89  PRECISION | 0..16 [5] | Precision used for floating point output.
90  FIELD_WIDTH | 0.. | Width of an output field. If 0, then use natural width.
91  SHOW_LABELS | on/[off] | Should each field be preceded by its name (ke=1.3e9, ie=2.0e9)
92  SHOW_LEGEND | [on]/off | Should a legend be printed at the beginning of the output showing the field names for each column of data.
93  SHOW_TIME_FIELD | on/[off] | Should the current analysis time be output as the first field.
94 
95 ## Experimental
96 
97  Property | Value | Description
98 -----------------------|:------:|-----------------------------------------------------------
99 MEMORY_READ | on/[off] | experimental
100 MEMORY_WRITE | on/[off] | experimental
101 ENABLE_FILE_GROUPS | on/[off] | experimental
102 
103 ## Debugging / Profiling
104 
105  Property | Value | Description
106  ----------|:--------:|------------
107  LOGGING | on/[off] | enable/disable logging of field input/output
108  ENABLE_TRACING | on/[off] | show memory and elapsed time during some IOSS calls (mainly decomp).
109  DECOMP_SHOW_PROGRESS | on/[off] | use `ENABLE_TRACING`.
110  DECOMP_SHOW_HWM | on/[off] | show high-water memory during autodecomp
111  IOSS_TIME_FILE_OPEN_CLOSE | on/[off] | show elapsed time during parallel-io file open/close/create
112  CHECK_PARALLEL_CONSISTENCY | on/[off] | check Ioss::GroupingEntity parallel consistency
113 
114 ## Setting properties via an environment variable
115 
116 Although the properties are usually accessed internally in the
117 application calling the IOSS library, it is possible to set the
118 properties externally prior to running the application via the setting
119 of the environment variable `IOSS_PROPERTIES`. The value of the
120 variable is one or more colon-separated property/property-value pairs.
121 For example, to set the `DECOMPOSITION_METHOD` and the `FILE_TYPE`
122 externally, the following would be used:
123 ```
124  export IOSS_PROPERTIES="DECOMPOSITION_METHOD=rib:FILE_TYPE=netcdf4"
125 ```
126 If the environment variable is set correctly, there should be an
127 informational message output during running of the application similar
128 to:
129 ```
130  IOSS: Adding property 'DECOMPOSITION_METHOD' with value 'rib'
131  IOSS: Adding property 'FILE_TYPE' with value 'netcdf4'
132 ```
133 
134 \section license License
135 The IOSS library is licensed under the BSD open source license.
136 
137  Copyright(C) 1999-2020 National Technology & Engineering Solutions
138  of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
139  NTESS, the U.S. Government retains certain rights in this software.
140 
141  See packages/seacas/LICENSE for details
142 
143  Redistribution and use in source and binary forms, with or without
144  modification, are permitted provided that the following conditions are
145  met:
146 
147  * Redistributions of source code must retain the above copyright
148  notice, this list of conditions and the following disclaimer.
149 
150  * Redistributions in binary form must reproduce the above
151  copyright notice, this list of conditions and the following
152  disclaimer in the documentation and/or other materials provided
153  with the distribution.
154 
155  * Neither the name of NTESS nor the names of its
156  contributors may be used to endorse or promote products derived
157  from this software without specific prior written permission.
158 
159  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
160  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
161  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
162  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
163  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
164  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
165  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
166  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
167  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
168  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
169  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
170 
171 */
172 
173 // clang-format on