Difference between revisions of "PIDX Uintah"

From
Jump to: navigation, search
(Created page with "Uintah can be built with PIDX I/O support simple adding the parameter ''-enable-pidx'' to your configure instruction. In order to instruct a simulation to use PIDX you have t...")
 
 
(2 intermediate revisions by the same user not shown)
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:
  
In order to instruct a simulation to use PIDX you have to edit the .ups file with the following:
+
<syntaxhighlight lang="bash">
<PIDX>
+
../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">.
 +
Here is an example of configuration you can use to generate data in the multiresolution IDX format:
 +
 
 +
<syntaxhighlight lang="xml">
 +
<DataArchiver type="PIDX">
 +
  <PIDX>
 
       <checkpoint>
 
       <checkpoint>
 
         <compressionType>None</compressionType>
 
         <compressionType>None</compressionType>
Line 13: Line 38:
 
       </visIo>
 
       </visIo>
 
   </PIDX>
 
   </PIDX>
 +
...
 +
</syntaxhighlight>

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