<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Verdana">You're right this is not happening with the
      petsc example. Thus it's probably problem in my code. I'll come
      back when I know what's the true reason.<br>
      <br>
      Matt, sorry for replying to your personal address only.<br>
      <br>
      Thank you,<br>
      Vaclav<br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">Dne 11.3.2014 16:04, Matthew Knepley
      napsal(a):<br>
    </div>
    <blockquote
cite="mid:CAMYG4GnOqXc8VjiDRyLj4KO9TCAD6S+dwz3jBvh=DiA61Wb4ig@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Mar 11, 2014 at 9:27 AM,
            Václav Hapla <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:vaclav.hapla@vsb.cz" target="_blank">vaclav.hapla@vsb.cz</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> FWICS PetscFinalize
                in petsc-current contains the following bug.<br>
                It calls <br>
                   PetscObjectRegisterDestroyAll()<br>
                and after that, if -options_table is present, it calls<br>
                  
                PetscViewerASCIIGetStdout(PETSC_COMM_WORLD,&viewer);<br>
                   PetscOptionsView(viewer);<br>
                causing<br>
                   [0]PETSC ERROR: No support for this operation for
                this object type! <br>
                   [0]PETSC ERROR: Only supports ASCII viewer!<br>
                because the viewer is destroyed already by
                PetscObjectRegisterDestroyAll.<br>
                <br>
                I haven't tested petsc-dev but I can see in it's the
                same situation in the pinit.c source.<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I cannot reproduce this on 'next':</div>
            <div><br>
            </div>
            <div>
              <div>next
                $:/PETSc3/petsc/petsc-dev/src/snes/examples/tutorials$
                ./ex19 -options_table -snes_monitor</div>
              <div>PETSC_OPTIONS="-cublas 0" ./ex19 -options_table
                -snes_monitor</div>
              <div>lid velocity = 0.0625, prandtl # = 1, grashof # = 1</div>
              <div>  0 SNES Function norm 2.391552133017e-01 </div>
              <div>  1 SNES Function norm 6.839858507066e-05 </div>
              <div>  2 SNES Function norm 8.558777232425e-11 </div>
              <div>Number of SNES iterations = 2</div>
              <div>#PETSc Option Table entries:</div>
              <div>-options_table<br>
              </div>
              <div>-snes_monitor</div>
              <div>#End of PETSc Option Table entries</div>
            </div>
            <div><br>
            </div>
            <div>Can you reproduce this with a PETSc example?</div>
            <div><br>
            </div>
            <div>  Thanks,</div>
            <div><br>
            </div>
            <div>     Matt</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> Best regards,<br>
                Vaclav<br>
                <br>
                <br>
                <div>-- <br>
                  <div>
                    <p
                      style="font-size:9pt;font-family:Consolas,monospace">
                      Vaclav Hapla<br>
                      Junior researcher / PhD student<br>
                      <a moz-do-not-send="true"
                        href="http://www.it4i.eu/" target="_blank">IT4Innovations</a>
                      / <a moz-do-not-send="true"
                        href="http://am.vsb.cz/" target="_blank">Dept.
                        of Applied Mathematics</a> </p>
                    <p
                      style="font-size:9pt;font-family:Consolas,monospace">
                      <u>office PI 328</u><br>
                      tel.: <a moz-do-not-send="true"
                        href="tel:%28%2B420%29%20597%20329%20078"
                        value="+420597329078" target="_blank">(+420) 597
                        329 078</a><br>
                      Podnikatelsky inkubator VSB-TUO<br>
                      Studentska 6202/17<br>
                      708 00 Ostrava-Poruba<br>
                      Czech Republic<br>
                    </p>
                    <p
                      style="font-size:9pt;font-family:Consolas,monospace">
                      <u>contact address</u><br>
                      IT4Innovations<br>
                      VSB - Technical University of Ostrava<br>
                      17. listopadu 15/2172<br>
                      708 33 Ostrava-Poruba<br>
                      Czech Republic<br>
                    </p>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          What most experimenters take for granted before they begin
          their experiments is infinitely more interesting than any
          results to which their experiments lead.<br>
          -- Norbert Wiener
        </div>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div id="contact-info">
        <p style="font-size:9pt; font-family: Consolas, monospace">
          Vaclav Hapla<br>
          Junior researcher / PhD student<br>
          <a href="http://www.it4i.eu/">IT4Innovations</a> /
          <a href="http://am.vsb.cz/">Dept. of Applied Mathematics</a>
        </p>
        <p style="font-size:9pt; font-family: Consolas, monospace">
          <u>office PI 328</u><br>
          tel.: (+420) 597 329 078<br>
          Podnikatelsky inkubator VSB-TUO<br>
          Studentska 6202/17<br>
          708 00 Ostrava-Poruba<br>
          Czech Republic<br>
        </p>
        <p style="font-size:9pt; font-family: Consolas, monospace">
          <u>contact address</u><br>
          IT4Innovations<br>
          VSB - Technical University of Ostrava<br>
          17. listopadu 15/2172<br>
          708 33 Ostrava-Poruba<br>
          Czech Republic<br>
        </p>
      </div>
    </div>
  </body>
</html>