<div dir="ltr"><div dir="ltr">On Wed, Oct 14, 2020 at 6:01 AM Nicolas Barral <<a href="mailto:nicolas.barral@math.u-bordeaux.fr">nicolas.barral@math.u-bordeaux.fr</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">Hi all,<br>
<br>
Apologies if the question has already been asked, but the ML archive <br>
search seems to be broken (or has it never worked ?).<br>
<br>
Many petsc scripts require a 'python' executable, which python should <br>
that be ? For now, python3 seems to have worked with the configure <br>
scripts and petsc_gen_xdmf scripts, but can I safely assume it will <br>
always be the case ?<br>
<br>
'python' is usually an alias for python2, so making it point at python3 <br>
seems a bit dangerous. Yet, python2 was removed from recent Ubuntus and <br>
maybe others, and if I have no python2 installed, and no 'python' alias, <br>
I have to manually edit all the scripts.<br></blockquote><div><br></div><div>Right now, PETSc works with both Python2 and Python3. I am not sure how long we can support Python2,</div><div>but the aim is to support it until End of Life, probably on Red Hat since they change the slowest I think.</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">
Thanks<br>
<br>
-- <br>
Nicolas<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>