<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">Alright, thanks for the quick response.<br>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Jun 8, 2018 at 2:47 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
  Sorry. No PETSc can't install bison and flex and we won't add that capability<br>
<br>
bison and flex are so standard that any standard distribution should either contain them or have an easy way to install them.<br>
<br>
  Perhaps you are working on a machine without bison and flex and you do not have sudo access. I suggest you email/talk to the sys admin for this machine and ask them to install these packages.<br>
<br>
    Barry<br>
<br>
<br>
> On Jun 8, 2018, at 1:42 PM, Shashwat Sharma <<a href="mailto:shash_91@hotmail.com" target="_blank">shash_91@hotmail.com</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> I'm using a Petsc installation along with the external package superLU_dist. As per the instructions on the online documentation, I am letting Petsc take care of the download and installation at the configure stage.<br>
> <br>
> SuperLU requires that I also download and install parMeTiS and PTScotch, which I can readily do the same way. However, those packages in turn require certain other packages to have been preinstalled, namely GNU bison and flex.<br>
> <br>
> The issue is that I have to make sure bison and flex are pre-installed globally (with sudo rights) before I can properly configure Petsc. However, I would like to remove this dependency on sudo rights and be able to point Petsc to a local installation of
 bison and flex (or even better, have Petsc download and install them). Is this possible? I didn't see these packages listed on
<a href="https://www.mcs.anl.gov/petsc/miscellaneous/external.html" rel="noreferrer" target="_blank">
https://www.mcs.anl.gov/petsc/miscellaneous/external.html</a>, so I'm not sure if Petsc can automatically download them.<br>
> <br>
> Is there a way to point Petsc to a local installation of bison and flex?<br>
> <br>
> Thanks!<br>
> <br>
> <br>
> <br>
<br>
</blockquote>
</div>
</body>
</html>