Does that mean one can choose to develop code using the petc4py wrappers
without having to sacrifice any performance?
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.
Nidish
On 8/13/20 8:43 PM, Matthew Knepley wrote:
On Thu, Aug 13, 2020 at 9:42 PM Nidish <[email protected]
<mailto:[email protected]>> wrote:
Hello,
I'm wondering if any performance studies have been conducted between
codes written using PETSc on C versus Python implementations using
PETSc4py. Other than this, I'd really appreciate it if someone can
give
perspectives on the drawbacks/advantages on opting for either for
code
development.
No PETSc code is in Python, so there is no difference as long as you
do not call PETSc
function millions of times from Python. It should always be possible
to operate at the right
granularity.
Thanks,
Matt
Thank you,
Nidish
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/
<http://www.cse.buffalo.edu/~knepley/>
--
Nidish