PIDX Uintah

From
Jump to: navigation, search

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>
...