Difference between revisions of "PIDX Uintah"
From
Line 1: | Line 1: | ||
− | Uintah can be built with PIDX I/O support simple adding the parameter ''-enable-pidx'' to your configure instruction. | + | Uintah can be built with PIDX I/O support simple adding the parameter ''--enable-pidx'' to your configure instruction. |
+ | For example a configure script could use it as following: | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | ../src/configure \ | ||
+ | --enable-arches \ | ||
+ | --enable-64bit \ | ||
+ | --enable-optimize \ | ||
+ | --enable-static=full \ | ||
+ | --enable-pidx | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Or if you want to specify a specific location where PIDX is installed you can use ''--with-pidx'' as following: | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | ../src/configure \ | ||
+ | --enable-arches \ | ||
+ | --enable-64bit \ | ||
+ | --enable-optimize \ | ||
+ | --enable-static=full \ | ||
+ | --with-pidx=/path/to/PIDX/install | ||
+ | </syntaxhighlight> | ||
In order to instruct a simulation to use PIDX you have to edit the .ups and replace <DataArchiver> with <DataArchiver type="PIDX">. | In order to instruct a simulation to use PIDX you have to edit the .ups and replace <DataArchiver> with <DataArchiver type="PIDX">. | ||
Here is an example of configuration you can use to generate data in the multiresolution IDX format: | Here is an example of configuration you can use to generate data in the multiresolution IDX format: | ||
+ | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<DataArchiver type="PIDX"> | <DataArchiver type="PIDX"> |
Latest revision as of 17:36, 21 February 2019
Uintah can be built with PIDX I/O support simple adding the parameter --enable-pidx to your configure instruction. For example a configure script could use it as following:
../src/configure \ --enable-arches \ --enable-64bit \ --enable-optimize \ --enable-static=full \ --enable-pidx
Or if you want to specify a specific location where PIDX is installed you can use --with-pidx as following:
../src/configure \ --enable-arches \ --enable-64bit \ --enable-optimize \ --enable-static=full \ --with-pidx=/path/to/PIDX/install
In order to instruct a simulation to use PIDX you have to edit the .ups and replace <DataArchiver> with <DataArchiver type="PIDX">. Here is an example of configuration you can use to generate data in the multiresolution IDX format:
<DataArchiver type="PIDX"> <PIDX> <checkpoint> <compressionType>None</compressionType> <idxIo></idxIo> </checkpoint> <visIo> <compressionType>None</compressionType> <idxIo></idxIo> </visIo> </PIDX> ...