<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Does that mean one can choose to develop code using the petc4py
      wrappers without having to sacrifice any performance?</p>
    <p>Apologies if this question is too basic, I'm just trying to
      understand what I would be sacrificing if I chose to completely
      write my application on Python.<br>
    </p>
    <p>Nidish<br>
    </p>
    <div class="moz-cite-prefix">On 8/13/20 8:43 PM, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4GnUa9VG8wuzNKKhbQbL-T1ZpTrhrKoT9iTREob_H6TRbQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Thu, Aug 13, 2020 at 9:42 PM Nidish <<a
            href="mailto:nb25@rice.edu" moz-do-not-send="true">nb25@rice.edu</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">Hello,<br>
            <br>
            I'm wondering if any performance studies have been conducted
            between <br>
            codes written using PETSc on C versus Python implementations
            using <br>
            PETSc4py. Other than this, I'd really appreciate it if
            someone can give <br>
            perspectives on the drawbacks/advantages on opting for
            either for code <br>
            development.<br>
          </blockquote>
          <div><br>
          </div>
          <div>No PETSc code is in Python, so there is no difference as
            long as you do not call PETSc</div>
          <div>function millions of times from Python. It should always
            be possible to operate at the right</div>
          <div>granularity.</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:1px solid
            rgb(204,204,204);padding-left:1ex">
            Thank you,<br>
            Nidish<br>
          </blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>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><br>
                    </div>
                    <div><a href="http://www.cse.buffalo.edu/~knepley/"
                        target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <div class="moz-signature">-- <br>
      Nidish</div>
  </body>
</html>