<div dir="ltr"><div dir="ltr">On Thu, Aug 13, 2020 at 9:42 PM Nidish <<a href="mailto:nb25@rice.edu">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">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>