<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Utkarsh,<br>
      <br>
      &nbsp;&nbsp; thanks for trying to look into it.<br>
      <br>
      &nbsp;&nbsp; These are some datasets distributed with VisIt to test the
      Pixie output<br>
      <br>
      &nbsp;&nbsp;
blockedhttp://portal.nersc.gov/svn/visit/trunk/data/pixie_test_data.tar.gz<br>
      <br>
      &nbsp;&nbsp; As you will notice Paraview 3.14 or newer can not open the file
      pixie_expressions.h5,<br>
      &nbsp;&nbsp; while it correctly opens all other files (pixie3d3.h5, ...),
      where the only difference<br>
      &nbsp;&nbsp; between the files is the number of timesteps contained in each
      of them.<br>
      <br>
      &nbsp;&nbsp; The following files are written by the code that we develop
      (<a class="moz-txt-link-freetext" href="http://plutocode.ph.unito.it/">http://plutocode.ph.unito.it/</a>):<br>
      &nbsp;&nbsp;&nbsp; <br>
      &nbsp;&nbsp; blockedhttps://dl.dropbox.com/u/18683007/data.2tstep.h5<br>
      &nbsp;&nbsp; blockedhttps://dl.dropbox.com/u/18683007/data.1tstep.h5<br>
      &nbsp;&nbsp; <br>
      &nbsp;&nbsp;&nbsp; Paraview 3.14 or newer can open data.2tstep.h5 but hangs when
      trying to open data.1tstep.h5.<br>
      &nbsp;&nbsp;&nbsp; These files contain 2 and 1 timesteps respectively, but their
      structure is exactly the same <br>
      &nbsp;&nbsp;&nbsp; (groups, attributes, datasets, etc etc ...)<br>
      <br>
      &nbsp;&nbsp;&nbsp; Previous versions of Paraview (down to 3.10) and VisIt (up to
      the current release 2.5.2) can <br>
      &nbsp;&nbsp;&nbsp; correctly open all the files. Therefore I suspect that the
      problem is somewhere in the bridge <br>
      &nbsp;&nbsp;&nbsp; from VisIt to Paraview of the two most recent releases. <br>
      &nbsp;&nbsp;&nbsp; I have always used the pre-compiled binaries for Mac OS X
      64-bit Intel.<br>
      <br>
      &nbsp;&nbsp;&nbsp; Thanks again,<br>
      &nbsp;&nbsp;&nbsp; Claudio<br>
      <br>
      On 11/12/12 12:13 AM, Utkarsh Ayachit wrote:<br>
    </div>
    <blockquote
cite="mid:CADHSJjDNQnokT-p-8C3EgwwG+GGSkgcneU9z6EBDhdwiO1cZJQ@mail.gmail.com"
      type="cite">Claudio,
      <div><br>
      </div>
      <div>Do you have any sample dataset that I can use to test
        this/the fix?</div>
      <div><br>
      </div>
      <div>Thanks,</div>
      <div>Utkarsh</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sun, Nov 11, 2012 at 4:07 PM,
          Utkarsh Ayachit <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Claudio,
            <div><br>
            </div>
            <div>I'll take a look at get back.</div>
            <span class="HOEnZb"><font color="#888888">
                <div><br>
                </div>
                <div>Utkarsh</div>
              </font></span>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Fri, Nov 9, 2012 at 9:54
                    AM, Claudio Zanni <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:zanni@oato.inaf.it" target="_blank">zanni@oato.inaf.it</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">I
                      already had this problem with Paraview 3.14.1 but
                      I received no answer to a first email,<br>
                      so I tried to investigate on my own since the
                      problem is still present in release 3.98.0.<br>
                      <br>
                      Paraview can not open a Pixie file (it's a HDF5
                      format included through the VisIt Database<br>
                      Bridge) when the file includes one timestep only:
                      Paraview just hangs indefinitely.<br>
                      Everything works fine when multiple timesteps are
                      contained in the file.<br>
                      <br>
                      I suspect that the problem is connected to lines
                      618-634 in<br>
                      Utilities/VisItBridge/AvtAlgorithms/vtkAvtFileFormatAlgorithm.cxx:<br>
                      <br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        &nbsp; //in some case the times and cycles have all
                        zero values.<br>
                        &nbsp; //This is caused by a file reader that
                        generates the time value<br>
                        &nbsp; //once the reader moves to that timestep.<br>
                        &nbsp; //That kind of behaviour is not possible
                        currently in ParaView. Instead<br>
                        &nbsp; //we will force the reader to generate the
                        time values for each timestep<br>
                        &nbsp; //by cycling through everytime step but not
                        requesting any data.<br>
                        &nbsp; if(hasTime &amp;&amp; timesteps[0] ==
                        timesteps[timesteps.size()-1])<br>
                        &nbsp; &nbsp; {<br>
                        &nbsp; &nbsp; //we have hit a timestep range that needs to
                        be cycled<br>
                        &nbsp; &nbsp; for(int i=0; i &lt; timesteps.size();++i)<br>
                        &nbsp; &nbsp; &nbsp; {<br>
                        &nbsp; &nbsp; &nbsp; this-&gt;ActivateTimestep(i);<br>
                        &nbsp; &nbsp; &nbsp; //Nek and other readers don't update the
                        time info intill you<br>
                        &nbsp; &nbsp; &nbsp; //call gettimes.<br>
                        &nbsp; &nbsp; &nbsp; this-&gt;AvtFile-&gt;FormatGetTimes(timesteps);<br>
                        &nbsp; &nbsp; &nbsp; }<br>
                        &nbsp; &nbsp; }<br>
                      </blockquote>
                      The condition is true not only when the same value
                      (0?) has been assigned to all<br>
                      the timesteps but also when there is one timestep
                      only (timesteps.size() = 1).<br>
                      Besides these lines were not present in Paraview
                      3.10/3.12 and these releases<br>
                      were able to open Pixie files containing one
                      timestep only.<br>
                      <br>
                      Is it possible to fix this problem? That would be
                      highly appreciated.<br>
                      Regards,<br>
                      Claudio<br>
                      <br>
                      -- <br>
                      Claudio Zanni<br>
                      INAF - Osservatorio Astronomico di Torino<br>
                      Via Osservatorio 20<br>
                      10025 Pino Torinese (TO), Italy<br>
                      tel. <a moz-do-not-send="true"
                        href="tel:%2B39%20011%208101907"
                        value="+390118101907" target="_blank">+39 011
                        8101907</a><br>
                      fax &nbsp;<a moz-do-not-send="true"
                        href="tel:%2B39%20011%208101930"
                        value="+390118101930" target="_blank">+39 011
                        8101930</a><br>
                      <br>
                      _______________________________________________<br>
                      Powered by <a moz-do-not-send="true"
                        href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
                      <br>
                      Visit other Kitware open-source projects at <a
                        moz-do-not-send="true"
                        href="http://www.kitware.com/opensource/opensource.html"
                        target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                      <br>
                      Please keep messages on-topic and check the
                      ParaView Wiki at: <a moz-do-not-send="true"
                        href="http://paraview.org/Wiki/ParaView"
                        target="_blank">http://paraview.org/Wiki/ParaView</a><br>
                      <br>
                      Follow this link to subscribe/unsubscribe:<br>
                      <a moz-do-not-send="true"
                        href="http://www.paraview.org/mailman/listinfo/paraview"
                        target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Claudio Zanni
INAF - Osservatorio Astronomico di Torino
Via Osservatorio 20
10025 Pino Torinese (TO), Italy
tel. +39 011 8101907
fax  +39 011 8101930 
</pre>
  </body>
</html>